From bfbce37d0cd999ddcdf4101e128e9b520744c249 Mon Sep 17 00:00:00 2001 From: Marc Pichler Date: Mon, 17 Feb 2025 10:34:17 +0100 Subject: [PATCH] Update packages/opentelemetry-core/test/common/utils/configuration.test.ts Co-authored-by: Trent Mick --- .../opentelemetry-core/test/common/utils/configuration.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/opentelemetry-core/test/common/utils/configuration.test.ts b/packages/opentelemetry-core/test/common/utils/configuration.test.ts index 6ea6738e1c..f51274fd21 100644 --- a/packages/opentelemetry-core/test/common/utils/configuration.test.ts +++ b/packages/opentelemetry-core/test/common/utils/configuration.test.ts @@ -43,7 +43,7 @@ describe('stringToLogLevel', function () { }); it('should return undefined on null input', function () { - assert.strictEqual(diagLogLevelFromString(undefined), undefined); + assert.strictEqual(diagLogLevelFromString(null), undefined); }); it('should fall back to INFO and warn on input that cannot be mapped', function () {