Skip to content

Commit 5e609dc

Browse files
committed
Lint
1 parent e2c4564 commit 5e609dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/replayMode.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe('ReplayMode', () => {
7676
range: 1,
7777
});
7878

79-
await new Promise((r) => chart.onSymbolLoaded(() => r(true)));
79+
await new Promise((r) => void chart.onSymbolLoaded(() => r(true)));
8080
console.log('Chart loaded');
8181

8282
expect(chart.infos.full_name).toBe('BINANCE:BTCEUR');
@@ -91,8 +91,8 @@ describe('ReplayMode', () => {
9191
});
9292

9393
const msg = await Promise.race([
94-
new Promise((r) => chart.onReplayEnd(() => r('Replay end'))),
95-
new Promise((r) => setTimeout(() => r('Timeout'), 9000)),
94+
new Promise((r) => void chart.onReplayEnd(() => r('Replay end'))),
95+
new Promise((r) => void setTimeout(() => r('Timeout'), 9000)),
9696
]);
9797

9898
console.log(msg);

0 commit comments

Comments
 (0)