summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorTommaso Sciortino <[email protected]>2025-08-12 15:57:27 -0700
committerGitHub <[email protected]>2025-08-12 22:57:27 +0000
commit9d023be1d16a6bf7427569f863e6cfd2c3442d8b (patch)
treeb983227f56fd9f26008b475061a345b61207c970 /package.json
parent8d6eb8c322890b5cdf20d4a30dd17afb1541f5aa (diff)
Upgrade integration tests to use Vitest (#6021)
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json
index e5a14de5..8b6d7295 100644
--- a/package.json
+++ b/package.json
@@ -33,11 +33,11 @@
"test": "npm run test --workspaces --if-present",
"test:ci": "npm run test:ci --workspaces --if-present && npm run test:scripts",
"test:scripts": "vitest run --config ./scripts/tests/vitest.config.ts",
- "test:e2e": "npm run test:integration:sandbox:none -- --verbose --keep-output",
+ "test:e2e": "cross-env VERBOSE=true KEEP_OUTPUT=true npm run test:integration:sandbox:none",
"test:integration:all": "npm run test:integration:sandbox:none && npm run test:integration:sandbox:docker && npm run test:integration:sandbox:podman",
- "test:integration:sandbox:none": "GEMINI_SANDBOX=false node integration-tests/run-tests.js",
- "test:integration:sandbox:docker": "GEMINI_SANDBOX=docker node integration-tests/run-tests.js",
- "test:integration:sandbox:podman": "GEMINI_SANDBOX=podman node integration-tests/run-tests.js",
+ "test:integration:sandbox:none": "GEMINI_SANDBOX=false vitest run --root ./integration-tests",
+ "test:integration:sandbox:docker": "npm run build:sandbox && GEMINI_SANDBOX=docker vitest run --root ./integration-tests",
+ "test:integration:sandbox:podman": "GEMINI_SANDBOX=podman vitest run --root ./integration-tests",
"lint": "eslint . --ext .ts,.tsx && eslint integration-tests",
"lint:fix": "eslint . --fix && eslint integration-tests --fix",
"lint:ci": "eslint . --ext .ts,.tsx --max-warnings 0 && eslint integration-tests --max-warnings 0",