test: refactor test-domain-from-timer · nodejs/node@a6bc868 · GitHub
Skip to content

Commit a6bc868

Browse files
Daniel Simsaddaleax
authored andcommitted
test: refactor test-domain-from-timer
In this change, the setTimeout needed a second argument, so I set that value to 1. In addition, I changed the assertion to be a strictEquals instead of equals. I changed the var declarations to const in this test. PR-URL: #9889 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 793addf commit a6bc868

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/parallel/test-domain-from-timer.js

Lines changed: 5 additions & 5 deletions

0 commit comments

Comments
 (0)