Skip to content

Commit

Permalink
chore: SplunkZipkinExporter
Browse files Browse the repository at this point in the history
  • Loading branch information
Joozty committed Jan 13, 2025
1 parent 29c9b48 commit d7493b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
*
*/

import { expect } from 'chai'
import { SplunkSpanAttributesProcessor } from '../src/SplunkSpanAttributesProcessor'
import { expect, describe, it } from 'vitest'
import { SplunkSpanAttributesProcessor } from '../SplunkSpanAttributesProcessor'

describe('SplunkSpanAttributesProcessor', () => {
describe('setting global attribute', () => {
Expand All @@ -26,7 +26,7 @@ describe('SplunkSpanAttributesProcessor', () => {
key1: 'value1',
})

expect(processor.getGlobalAttributes()).to.deep.eq({
expect(processor.getGlobalAttributes()).toStrictEqual({
key1: 'value1',
})
})
Expand All @@ -42,7 +42,7 @@ describe('SplunkSpanAttributesProcessor', () => {
key3: 'value3',
})

expect(processor.getGlobalAttributes()).to.deep.eq({
expect(processor.getGlobalAttributes()).toStrictEqual({
key1: 'value1',
key2: 'value2-updaged',
key3: 'value3',
Expand Down
2 changes: 1 addition & 1 deletion packages/web/test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import '../src/tests/websockets.test'
import '../src/tests/SessionBasedSampler.test'
import '../src/tests/SplunkExporter.test'
import './SplunkContextManager.test'
import './SplunkSpanAttributesProcessor.test'
import '../src/tests/SplunkSpanAttributesProcessor.test'
import './SplunkOtelWeb.test'
import '../src/tests/synthetics.test'
import './socketio.test'
Expand Down

0 comments on commit d7493b3

Please sign in to comment.