| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 0cf78aa commit b0ed8db
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -93,7 +93,12 @@ function expectNoWorker(opt, want, command, wantsError) { | |||
| 93 | 93 | function expect( | |
| 94 | 94 | opt, want, command = 'console.log("B")', wantsError = false, testWorker = true | |
| 95 | 95 | ) { | |
| 96 | - const argv = ['-e', command]; | ||
| 96 | + const argv = [ | ||
| 97 | + // --perf-basic-prof and --perf-basic-prof-only-functions write to /tmp by default. | ||
| 98 | + `--perf-basic-prof-path=${tmpdir.path}`, | ||
| 99 | + '-e', | ||
| 100 | + command, | ||
| 101 | + ]; | ||
| 97 | 102 | const opts = { | |
| 98 | 103 | cwd: tmpdir.path, | |
| 99 | 104 | env: Object.assign({}, process.env, { NODE_OPTIONS: opt }), | |
| Back | FazBrowse Home | New Git URL |
0 commit comments