Skip to content

Commit

Permalink
Merge pull request #107 from MorenoMdz/jest-win-compat
Browse files Browse the repository at this point in the history
Added Windows test script compatibility
  • Loading branch information
wesbos committed Oct 25, 2018
2 parents 01cf4a5 + d62461a commit 8d743eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sick-fits/frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"build": "next build",
"start": "next start",
"test": "NODE_ENV=test jest --watch",
"test-win": "SET NODE_ENV=test&& jest --watch",
"heroku-postbuild": "next build"
},
"author": "",
Expand Down Expand Up @@ -54,7 +55,8 @@
],
"transform": {
"\\.(gql|graphql)$": "jest-transform-graphql",
".*": "babel-jest"
".*": "babel-jest",
"^.+\\.js?$": "babel-jest"
}
},
"//": "This is our babel config, I prefer this over a .babelrc file",
Expand Down

0 comments on commit 8d743eb

Please sign in to comment.