We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62acf3d commit 8e61acfCopy full SHA for 8e61acf
packages/svelte/test/performance.test.ts
@@ -5,13 +5,13 @@ import DummyComponent from './components/Dummy.svelte';
5
6
let returnUndefinedTransaction = false;
7
8
-let testTransaction: { spans: any[]; startChild: jest.Mock; finish: jest.Mock } = {
+const testTransaction: { spans: any[]; startChild: jest.Mock; finish: jest.Mock } = {
9
spans: [],
10
startChild: jest.fn(),
11
finish: jest.fn(),
12
};
13
-let testUpdateSpan = { finish: jest.fn() };
14
-let testInitSpan: any = {
+const testUpdateSpan = { finish: jest.fn() };
+const testInitSpan: any = {
15
transaction: testTransaction,
16
17
0 commit comments