是否可以使用tape
在redux-saga
内测试create-react-app
而无需弹出?
似乎可能可能,但我无法完成工作。我的磁带测试报告为:
RUNS src/tests/sagas/parserSaga.test.js
TAP version 13
FAIL src\tests\sagas\parserSaga.test.js
● Test suite failed to run
Your test suite must contain at least one test.
at node_modules/jest-cli/build/test_scheduler.js:95:22
at Generator.next (<anonymous>)
at new Promise (<anonymous>)
at <anonymous>
让我充满希望的是jest-cli
似乎拾取TAP version 13
所以我认为它知道什么是磁带测试?