Skip to content

Commit 4c2157c

Browse files
fix(enzyme): fix enzyme patch leaving a file called '-'
1 parent 480a319 commit 4c2157c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"typings": "lib/index.d.ts",
77
"jsnext:main": "lib-esm/index.js",
88
"scripts": {
9-
"patch": "patch -N -r - -p1 < node_modules/enzyme-context-patch/patches/enzyme-adapter-react-16+1.1.1.patch || true",
9+
"patch": "patch -N -r patch.rej -p1 < node_modules/enzyme-context-patch/patches/enzyme-adapter-react-16+1.1.1.patch || true && shx rm -f patch.rej",
1010
"test": "npm run patch && NODE_ENV=production jest --silent",
1111
"test:downstream": "npm run build && test_downstream_projects",
1212
"start": "cross-env NODE_ENV=development webpack-dev-server --host 0.0.0.0 --port 8000 --config ./examples/typescript/webpack.config.js --history-api-fallback --content-base examples/typescript",

0 commit comments

Comments
 (0)