Commit 8c2cac65 authored by Rich Trott's avatar Rich Trott
Browse files

test: refactor test/sequential/test-fs-watch.js

* add block scoping
* rename block-scoped identifiers (e.g., filenameTwo -> filename)
* use common.mustCall() instead of exit handler
* use common.mustNotCall() as appropriate
* order modules per test writing guide

PR-URL: https://github.com/nodejs/node/pull/14534


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
parent 13d6eae5
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment