Skip to content

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

Rodrigo Muino Tomonari requested to merge github/fork/cjihrig/test into master

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

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

Merge request reports

Loading