Skip to content

Commit

Permalink
Update packages/opentelemetry-core/test/common/utils/configuration.te…
Browse files Browse the repository at this point in the history
…st.ts

Co-authored-by: Trent Mick <[email protected]>
  • Loading branch information
pichlermarc and trentm authored Feb 17, 2025
1 parent 96075c2 commit bfbce37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / browser-tests

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / build

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (18.19.0)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / webworker-tests

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (18)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (20.6.0)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-windows-tests

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (20)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (22)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.

Check failure on line 46 in packages/opentelemetry-core/test/common/utils/configuration.test.ts

View workflow job for this annotation

GitHub Actions / node-tests (23)

Argument of type 'null' is not assignable to parameter of type 'string | undefined'.
});

it('should fall back to INFO and warn on input that cannot be mapped', function () {
Expand Down

0 comments on commit bfbce37

Please sign in to comment.