From 9d023be1d16a6bf7427569f863e6cfd2c3442d8b Mon Sep 17 00:00:00 2001 From: Tommaso Sciortino Date: Tue, 12 Aug 2025 15:57:27 -0700 Subject: Upgrade integration tests to use Vitest (#6021) --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package.json') 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", -- cgit v1.2.3