rvagg / polendina

Non-UI browser testing for JavaScript libraries from the command-line
Other
63 stars 6 forks source link

mocha8 support, use npx instead of devDeps to not pollute dep chain #14

Closed rvagg closed 4 years ago

rvagg commented 4 years ago

Fixes: https://github.com/rvagg/polendina/issues/13

Dual support for mocha8 and mocha7, detects at runtime how it has to deal with the beast.

Removed devDependencies from here and am using npx now to run everything, the devDeps in node_modules messes up the state that end-users will have.

Switched resolution order to put local node_modules before polendina's. But also included readable-stream@2 here as a direct dep because tape (and others) that use an older core 'streams' pattern get messed up. Ideally a package will depend on readable-stream, but many don't and Webpack's ancient 'streams' polyfill is a mess.

rvagg commented 4 years ago

added windows support too