Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

test(web): run the bash exit 127 test in the web job

BaaRaib7e3079059bf
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index d6dcef4..f8fa523 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -150,6 +150,7 @@ jobs:
- run: npm run test:replay
- run: npm run test:upload
- run: npm run test:i18n
+ - run: npm run test:bash
- run: npm run build:static
python:
diff --git a/web/package.json b/web/package.json
index f5265be..547a182 100644
--- a/web/package.json
+++ b/web/package.json
@@ -16,7 +16,8 @@
"test:polling": "node --test scripts/polling.test.mjs",
"test:replay": "node --test scripts/replay.test.mjs",
"test:upload": "node --test scripts/upload.test.mjs",
- "test:i18n": "node scripts/check-i18n.mjs"
+ "test:i18n": "node scripts/check-i18n.mjs",
+ "test:bash": "node --test src/lib/bash-exit-status.test.mjs"
},
"lint-staged": {
"*.{js,ts,jsx,tsx}": [