Skip to content

Commit

Permalink
Fix test:e2e script for 'lib' package (#522)
Browse files Browse the repository at this point in the history
Add flag to rimraf allowing wildcard in path
  • Loading branch information
NataliaDSmirnova committed Feb 22, 2024
1 parent fe93aa1 commit 25fea24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"test": "run-s test:unit",
"test-cover": "cross-env NODE_ENV=coverage nyc mocha",
"test:unit": "mocha",
"test:e2e": "rimraf './test/e2e/mismatch/*.png' './test/e2e/mismatch/report-*.html' && mocha --config ./test/.e2e.mocharc.js",
"test:e2e": "rimraf --glob './test/e2e/mismatch/*.png' './test/e2e/mismatch/report-*.html' && mocha --config ./test/.e2e.mocharc.js",
"start": "webpack-dev-server --mode development --open",
"clean": "rimraf build coverage",
"build": "run-s 'build:*'",
Expand Down

0 comments on commit 25fea24

Please sign in to comment.