Replace MOCHA_GREP with TEST_NAME_PATTERN (#34404)

GitOrigin-RevId: b1b2d1be3d0725f930d83ef035836482ffb72dcd
This commit is contained in:
Anna Claire Fields
2026-09-17 11:45:29 +00:00
committed by Copybot
parent daf4a0e412
commit a63fd554c3
37 changed files with 47 additions and 40 deletions
+2 -2
View File
@@ -6,9 +6,9 @@
"scripts": {
"start": "node app.js",
"test:acceptance:_run": "mocha --recursive --timeout 15000 --exit --retries=$RETRIES $@ test/acceptance/js",
"test:acceptance": "yarn run test:acceptance:_run -- --grep=$MOCHA_GREP",
"test:acceptance": "yarn run test:acceptance:_run -- --grep=$TEST_NAME_PATTERN",
"test:unit:_run": "mocha --recursive --exit $@ test/unit/js",
"test:unit": "yarn run test:unit:_run -- --grep=$MOCHA_GREP",
"test:unit": "yarn run test:unit:_run -- --grep=$TEST_NAME_PATTERN",
"nodemon": "node --watch app.js",
"benchmark:apply": "node benchmarks/apply",
"lint": "eslint --cache --cache-location ../../.cache/eslint/ --max-warnings 0 .",