newrelic / node-test-utilities

Test helpers for Node.js instrumentation modules
Apache License 2.0
5 stars 15 forks source link

refactor: Removed --all flag from versioned runner as all runs will be using this since we no longer support Node.js versions that do not ship with npm7 #216

Closed bizob2828 closed 1 week ago

bizob2828 commented 1 week ago

Description

Saw this on the issue queue and we can address since we dropped support for node 16. Once this is done we can update our versioned test calls in repos to no longer pass the --all flag.

How to test

npm link
cd <checkout-of-node-agent>
npm link @newrelic/test-utilitites
# Should still work without passing the --all flag
./node_modules/.bin/versioned-tests --minor --print pretty -i 2 --strict --samples 10 test/versioned/kafkajs

Related Issues

Closes #80