Commit df19b07d authored by cjihrig's avatar cjihrig Committed by Rich Trott
Browse files

test: refactor test-fs-write-file-sync.js

This commit reduces shared state by introducing scopes and
block scoped variables. It also makes the monkey patching used
by the test more robust.

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


Reviewed-By: default avatarJeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: default avatarRichard Lau <riclau@uk.ibm.com>
parent 87592d1c
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