-
Notifications
You must be signed in to change notification settings - Fork 53
npm test fails with a preprocessor.js parse error #45
Copy link
Copy link
Open
Description
❯❯❯ npm test ◼
> web-demo@0.0.0 test /Users/afzal/Dev/Kiwi/web-demo
> jest
Using Jest CLI v0.4.5
FAIL app/scripts/ui/__tests__/Timer-test.coffee
Error: /Users/afzal/Dev/Kiwi/web-demo/preprocessor.js: Parse Error: Line 3: Unexpected string
1 test failed, 0 tests passed (1 total)
Run time: 0.278s
npm ERR! Test failed. See above for more details.
My preprocessor.js is unchanged, here it is for reference:
var ReactTools = require('react-tools');
module.exports = {
process: function(src) {
return ReactTools.transform(src, {
harmony: true
});
}
};Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels