Bryan English
324c82b1c9
test: use common.fixturesDir almost everywhere
...
Updating tests to use `common.fixturesDir` whenever possible/reasonable.
Left out things like tests for `path` and `require.resolve`.
PR-URL: https://github.com/nodejs/node/pull/6997
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2017-01-31 20:04:31 -05:00
Rich Trott
f1837703a9
test: remove unused vars from parallel tests
...
Remove all remaining unused variables from tests in test/parallel.
PR-URL: https://github.com/nodejs/node/pull/4511
Reviewed-By: James M Snell<jasnell@gmail.com >
Reviewed-By: Johan Bergström <bugs@bergstroem.nu >
2016-01-19 11:52:40 -08:00
cjihrig
acc3d66934
test: move ArrayStream to common
...
A number of REPL tests define the same ArrayStream object. This
commit moves the repeated code into common.js.
PR-URL: https://github.com/nodejs/node/pull/4027
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Conflicts:
test/common.js
2016-01-19 11:52:29 -08:00
cjihrig
93afc39d4a
repl: attach location info to syntax errors
...
Currently, when a file with a syntax error is imported in the
REPL, no information is provided on the error's location. This
commit adds the error's location to the stack trace.
Refs: https://github.com/nodejs/node/issues/2762
Refs: https://github.com/nodejs/node/issues/3411
Refs: https://github.com/nodejs/node/issues/3784
PR-URL: https://github.com/nodejs/node/pull/4013
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2016-01-19 11:52:29 -08:00