forked from gatsbyjs/gatsby
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run tests through babel globally. (gatsbyjs#1780)
* Run tests through babel globally. * Ignore tests in production environment. * format
- Loading branch information
1 parent
eb47799
commit 5535c85
Showing
2 changed files
with
13 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
{ | ||
"sourceMaps": true, | ||
"ignore": ["__tests__", "dist"], | ||
"presets": [ | ||
"./.babelrc.js" | ||
] | ||
], | ||
"ignore": ["dist"], | ||
"env": { | ||
"production": { | ||
"ignore": ["__tests__", "dist"], | ||
} | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters