diff options
author | Rich Trott <rtrott@gmail.com> | 2018-05-20 22:19:39 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-05-27 22:58:02 -0700 |
commit | 5624a6f8a77b8215b25e7ca27d4ac4ed66f72aee (patch) | |
tree | 07246332b4e87bb1e57f6cc55e8c61438d37c95b /doc/api/n-api.md | |
parent | 6e1324e4cfd28ee1ddcc8a6957f6134948b268ce (diff) | |
download | android-node-v8-5624a6f8a77b8215b25e7ca27d4ac4ed66f72aee.tar.gz android-node-v8-5624a6f8a77b8215b25e7ca27d4ac4ed66f72aee.tar.bz2 android-node-v8-5624a6f8a77b8215b25e7ca27d4ac4ed66f72aee.zip |
test: improve assert test hygiene
Do not pollute the source tree for the test. Instead of writing to the
source tree, spawn a process with the temp dir as cwd and write the file
there.
PR-URL: https://github.com/nodejs/node/pull/20861
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc/api/n-api.md')
0 files changed, 0 insertions, 0 deletions