Add commands for running just mocha tests

GitOrigin-RevId: 6cd5c6aedd4fb2f222a758d6aca130f178a4acf3
This commit is contained in:
Andrew Rumble
2025-06-06 08:06:18 +00:00
committed by Copybot
parent 784559f1b8
commit df233f3e5e
2 changed files with 7 additions and 0 deletions
+5
View File
@@ -83,6 +83,11 @@ test_unit_app:
$(DOCKER_COMPOSE) run --name unit_test_$(BUILD_DIR_NAME) --rm test_unit
$(DOCKER_COMPOSE) down -v -t 0
test_unit_mocha: export COMPOSE_PROJECT_NAME=unit_test_mocha_$(BUILD_DIR_NAME)
test_unit_mocha:
$(DOCKER_COMPOSE) run --rm test_unit npm run test:unit:mocha
$(DOCKER_COMPOSE) down -v -t 0
test_unit_esm: export COMPOSE_PROJECT_NAME=unit_test_esm_$(BUILD_DIR_NAME)
test_unit_esm:
$(DOCKER_COMPOSE) run --rm test_unit npm run test:unit:esm