Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 93c9680

Browse files
committed
fix: clearInterval => clearTimeout
License: MIT Signed-off-by: Victor Bjelkholm <[email protected]>
1 parent d0c9cb4 commit 93c9680

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cli/daemon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ describe('daemon', () => {
8383
res.stdout.on('data', (data) => {
8484
const line = data.toString()
8585
if (line.includes('Daemon is ready')) {
86-
clearInterval(timeout)
86+
clearTimeout(timeout)
8787
res.kill()
8888
done()
8989
}

0 commit comments

Comments
 (0)