v8flags
v8flags copied to clipboard
Update test harness
Update the test harness. This includes:
- Replace
mochawithnode:test - Replace
expectwithnode:assert - Replace
proxyquirewith node's module mocker - Replace
nycwith built-in node test runner using thenpm testcommandnode --test --experimental-test-coverage --test-reporter=spec --test-reporter-destination=stdout --test-reporter=lcov --test-reporter-destination=test/lcov.info \"test/*.js\"
- Remove the
pretestscript (if it exists) - Remove the dependencies and update the lockfile with
npm i --package-lock-only
@FotoVerite Heads up! There is a new item here to replace proxyquire with module mocking.