diff --git a/Makefile b/Makefile index 0cf81856f277..96430d3db384 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,8 @@ test-integration: build-s3-browser-bundle make test-protocols; test-e2e: build-s3-browser-bundle - npx vitest run -c vitest.config.e2e.ts - npx vitest run -c vitest.config.browser.e2e.ts + npx vitest run -c vitest.config.e2e.ts --retry=4 + npx vitest run -c vitest.config.browser.e2e.ts --retry=4 build-s3-browser-bundle: node ./clients/client-s3/test/browser-build/esbuild diff --git a/vitest.config.browser.e2e.ts b/vitest.config.browser.e2e.ts index 4dccbddcb87b..2c2ec0e7170d 100644 --- a/vitest.config.browser.e2e.ts +++ b/vitest.config.browser.e2e.ts @@ -2,7 +2,7 @@ import { defineConfig } from "vitest/config"; export default defineConfig({ test: { - exclude: ["**/*/node_modules/**/*.spec.ts"], + exclude: ["**/*/node_modules/**/*.spec.ts", "node_modules"], include: ["**/*.browser.e2e.spec.ts"], environment: "happy-dom", },