Closed idavollen closed 7 years ago
@idavollen I just added a new branch called alt-config/jest
with Jest configuration and tests for the two modules. Check out the diff to see how I approached configuration — there's a little bit of env-specific .babelrc
stuff that's required.
@jlengstorf Thanks for your great work!
Hi,
I tried to run js test with your code by adding a array.spec.js under app-root/test: import addArray from '../src/modules/mod2';
and change a bit in package.json
added corresponding dependencies, however, it failed with such an error message: SyntaxError: Unexpected token import
Do you have any idea on it? Or can you add some js test code for the purpose as example?
Thanks in advance!