While working on https://github.com/ethereumjs/ethereumjs-tx/pull/126/, it seemed it would be nice if we could run just one of the test files at a time. This PR is a small change that allows us to provide a command line arg to the test:node command. For example: npm run test:node -- -t will run only the tests in test/transactionRunner.js.
Coverage remained the same at 98.795% when pulling 92c458f58fde23ee98a97b2c4052382bdf08d511 on test-type-command-line-arg into 031592c7c6ec9c5498dde32e80e92ee40323d0a6 on master.
Coverage remained the same at 98.795% when pulling 92c458f58fde23ee98a97b2c4052382bdf08d511 on test-type-command-line-arg into 031592c7c6ec9c5498dde32e80e92ee40323d0a6 on master.
While working on https://github.com/ethereumjs/ethereumjs-tx/pull/126/, it seemed it would be nice if we could run just one of the test files at a time. This PR is a small change that allows us to provide a command line arg to the
test:node
command. For example:npm run test:node -- -t
will run only the tests intest/transactionRunner.js
.