williaster commented on a change in pull request #6079: [refactor] Migrate from
Mocha+Chai to Jest
URL:
https://github.com/apache/incubator-superset/pull/6079#discussion_r224639009
##########
File path: superset/assets/package.json
##########
@@ -8,9 +8,9 @@
"test": "spec"
},
"scripts": {
- "tdd": "mocha --require ignore-styles --compilers js:babel-core/register
--require spec/helpers/shim.js 'spec/**/*_spec.*' --watch --recursive",
- "test": "mocha --require ignore-styles --compilers js:babel-core/register
--require spec/helpers/shim.js 'spec/**/*_spec.*'",
- "test:one": "mocha --require ignore-styles --compilers
js:babel-core/register --require spec/helpers/shim.js",
+ "tdd": "jest --watch",
+ "test": "jest",
+ "test:one": "jest",
Review comment:
should we remove this one since it's the same as `test`? I added `test:one`
for mocha just a couple months ago.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]