如何在 package.json 中使用 Jest--testNamePattern=<regex>或-toption
--testNamePattern=<regex>
-t
jest -t /.*flow.spec.js$/
或者
jest -t='.*flow.spec.js$'
不起作用。
testing node.js jestjs
jestjs ×1
node.js ×1
testing ×1