Skip to content

Commit 0a46360

Browse files
committed
comment
1 parent b633a03 commit 0a46360

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/event_processor/event_processor_factory.browser.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
*/
1616
import { beforeEach, describe, expect, it, vi } from 'vitest';
1717

18-
// vitest does not handle Class mock well when transpiling to ES6 with { spy: true }.
19-
// So we provide manual mocks here.
20-
// Also importOriginal() does not work in browser mode, so we mock every export explicitly.
2118

2219
vi.mock('./default_dispatcher.browser', () => {
2320
return { default: {} };
2421
});
2522

23+
// vitest does not handle Class mock well when transpiling to ES6 with { spy: true }.
24+
// So we provide manual mocks here.
25+
// Also importOriginal() does not work in browser mode, so we mock every export explicitly.
2626
vi.mock('./event_processor_factory', () => {
2727
// Create a unique symbol for wrapping/unwrapping
2828
const eventProcessorSymbol = Symbol('eventProcessor');

0 commit comments

Comments
 (0)