Skip to content

Commit

Permalink
fix(test): add transform babel for jest tests
Browse files Browse the repository at this point in the history
  • Loading branch information
crobinson42 committed Apr 17, 2017
1 parent 1ce4435 commit 9065f4c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/jest.config.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
{
"testRegex": "(/test/.*|\\.(test))\\.(js)$"
"testRegex": "(/test/.*|\\.(test))\\.(js)$",
"transform": {
"^.+\\.(js)$": "<rootDir>/node_modules/jest-babel-preprocessor/preprocessor.js"
}
}

0 comments on commit 9065f4c

Please sign in to comment.