test: refactor test-fs-watchfile · nodejs/node@0bcbcca · GitHub
Skip to content

Commit 0bcbcca

Browse files
TrottMylesBorins
authored andcommitted
test: refactor test-fs-watchfile
* use `common.mustNotCall()` to confirm callback is not called * reorder modules to conform with test-writing guide * match full error message in `assert.throws()` PR-URL: #13721 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 81edf59 commit 0bcbcca

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

test/parallel/test-fs-watchfile.js

Lines changed: 5 additions & 5 deletions

0 commit comments

Comments
 (0)