-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
ass is designed to work on a child process. However, it doesn't support node -p.
For instance, the following change on line 14 of the current example:
kid = cp.spawn("node", ["-p", "require('ass');require('./server')"], { stdio: 'inherit' });yields the following error:
/example/node_modules/ass/node_modules/blanket/src/index.js:203
args[1].indexOf(join('node_modules','mocha','bin')) > -1 &&
^
TypeError: Cannot call method 'indexOf' of undefined
…
at Object.<anonymous> (/example/node_modules/ass/index.js:119:3)
This may be an upstream bug in Blanket.
Metadata
Metadata
Assignees
Labels
No labels