JS run test command

  1. run all tests
npm test
  1. run tests under specified folder
npm run test-single specs/filter/
  1. run a specified test
npm run test-single specs/filter/choose_even_spec.js

你可能感兴趣的:(JS run test command)