Skip to content

Commit

Permalink
update snapshots to fix tests and add cross-env for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ForsakenHarmony committed Dec 17, 2018
1 parent f459dc6 commit eb06e88
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 13 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"prepare": "npm run -s build",
"prepare:babel": "babel src/*.js -d dist && npm t",
"lint": "eslint src",
"test": "npm run -s lint && npm run -s build && BABEL_ENV=test jest",
"test": "npm run -s lint && npm run -s build && cross-env BABEL_ENV=test jest",
"release": "npm run -s prepare && npm test && git commit -am $npm_package_version && git tag $npm_package_version && git push && git push --tags && npm publish"
},
"repository": "developit/microbundle",
Expand Down Expand Up @@ -82,6 +82,7 @@
"@babel/preset-env": "^7.1.6",
"babel-core": "^7.0.0-bridge.0",
"babel-jest": "^23.6.0",
"cross-env": "^5.2.0",
"directory-tree": "^2.1.0",
"eslint": "^5.0.0",
"eslint-config-developit": "^1.1.1",
Expand Down
24 changes: 12 additions & 12 deletions test/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ async-ts
Build \\"asyncTs\\" to dist:
158 B: async-ts.js.gz
122 B: async-ts.js.br
160 B: async-ts.mjs.gz
128 B: async-ts.mjs.br
245 B: async-ts.umd.js.gz
202 B: async-ts.umd.js.br"
75 B: async-ts.js.gz
57 B: async-ts.js.br
77 B: async-ts.mjs.gz
63 B: async-ts.mjs.br
176 B: async-ts.umd.js.gz
141 B: async-ts.umd.js.br"
`;

exports[`fixtures basic 1`] = `
Expand Down Expand Up @@ -368,12 +368,12 @@ esnext-ts
Build \\"esnextTs\\" to dist:
841 B: esnext-ts.js.gz
753 B: esnext-ts.js.br
842 B: esnext-ts.mjs.gz
751 B: esnext-ts.mjs.br
902 B: esnext-ts.umd.js.gz
804 B: esnext-ts.umd.js.br"
1204 B: esnext-ts.js.gz
1096 B: esnext-ts.js.br
1203 B: esnext-ts.mjs.gz
1094 B: esnext-ts.mjs.br
1260 B: esnext-ts.umd.js.gz
1146 B: esnext-ts.umd.js.br"
`;

exports[`fixtures jsx 1`] = `
Expand Down

0 comments on commit eb06e88

Please sign in to comment.