Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mydea committed Aug 6, 2024
1 parent 9caea11 commit 9f7b40d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/opentelemetry/test/utils/spanTypes.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ describe('spanTypes', () => {
[{}, false],
[{ kind: null }, false],
[{ kind: 0 }, true],
[{ kind: 'TEST_KIND' }, true],
[{ kind: 5 }, true],
[{ kind: 'TEST_KIND' }, false],
])('works with %p', (span, expected) => {
const castSpan = span as unknown as Span;
const actual = spanHasKind(castSpan);
Expand Down

0 comments on commit 9f7b40d

Please sign in to comment.