Skip to content

Commit 4bfaf38

Browse files
Updated Jest, File Separators and Name
1 parent c181063 commit 4bfaf38

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "redux-metamask-auth",
2+
"name": "react-auth-box",
33
"version": "0.1.0",
44
"private": true,
55
"devDependencies": {
@@ -30,7 +30,7 @@
3030
"gzip-size": "3.0.0",
3131
"html-webpack-plugin": "2.24.0",
3232
"http-proxy-middleware": "0.17.2",
33-
"jest": "17.0.2",
33+
"jest": "18.1.0",
3434
"json-loader": "0.5.4",
3535
"object-assign": "4.1.0",
3636
"path-exists": "2.1.0",
@@ -67,20 +67,20 @@
6767
"src/**/*.{js,jsx}"
6868
],
6969
"setupFiles": [
70-
"<rootDir>\\config\\polyfills.js"
70+
"<rootDir>/config/polyfills.js"
7171
],
7272
"testPathIgnorePatterns": [
73-
"<rootDir>[/\\\\](build|docs|node_modules)[/\\\\]"
73+
"<rootDir>[/](build|docs|node_modules)[/]"
7474
],
7575
"testEnvironment": "node",
7676
"testURL": "http://localhost",
7777
"transform": {
78-
"^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
79-
"^.+\\.css$": "<rootDir>\\config\\jest\\cssTransform.js",
80-
"^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>\\config\\jest\\fileTransform.js"
78+
"^.+/.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
79+
"^.+/.css$": "<rootDir>/config/jest/cssTransform.js",
80+
"^(?!.*/.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
8181
},
8282
"transformIgnorePatterns": [
83-
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"
83+
"[/]node_modules[/].+/.(js|jsx)$"
8484
],
8585
"moduleNameMapper": {
8686
"^react-native$": "react-native-web"

0 commit comments

Comments
 (0)