Skip to content

Commit 59b1a12

Browse files
committed
fix worker tests
1 parent 7895218 commit 59b1a12

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

packages/replay/test/unit/eventBuffer.test.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ describe('Unit | eventBuffer', () => {
5151
describe('EventBufferCompressionWorker', () => {
5252
let buffer: EventBufferProxy;
5353

54-
afterEach(() => {
55-
buffer.destroy();
56-
});
57-
5854
it('adds events to event buffer with compression worker', async function () {
5955
buffer = createEventBuffer({
6056
useCompression: true,
@@ -162,7 +158,6 @@ describe('Unit | eventBuffer', () => {
162158
});
163159

164160
afterEach(() => {
165-
buffer.destroy();
166161
consoleErrorSpy.mockRestore();
167162
});
168163

0 commit comments

Comments
 (0)