Respect additional arguments in npm targets
Make following targets respect additional arguments, so that `--chrome-binary=[LOCATION] --chrome-features=[FEATURES]` can be used.
* `auto-debug-e2etest`
* `auto-debug-unittest`
* `auto-e2etest`
Bug: 1130513
Change-Id: I416dd08cc38597355d98ec43029e639716762296
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2422946
Reviewed-by: Mathias Bynens <mathias@chromium.org>
Commit-Queue: Maksim Sadym <sadym@chromium.org>
diff --git a/package.json b/package.json
index b0ace1d..93e7d9e 100644
--- a/package.json
+++ b/package.json
@@ -19,9 +19,9 @@
"url": "git+https://github.com/ChromeDevTools/devtools-frontend.git"
},
"scripts": {
- "auto-debug-e2etest": "autoninja -C out/Default && npm run debug-e2etest",
- "auto-debug-unittest": "autoninja -C out/Default && DEBUG=1 npm run unittest",
- "auto-e2etest": "autoninja -C out/Default && npm run e2etest",
+ "auto-debug-e2etest": "autoninja -C out/Default && npm run debug-e2etest --",
+ "auto-debug-unittest": "autoninja -C out/Default && DEBUG=1 npm run unittest --",
+ "auto-e2etest": "autoninja -C out/Default && npm run e2etest --",
"auto-unittest": "python scripts/test/run_auto_unittests.py --no-text-coverage",
"check": "npm run check-json && npm run check-gn && npm run check-lint && npm run check-loc && npm run check-type-closure",
"check-gn": "third_party/node/node.py --output scripts/check_gn.js",