From 4981f5ed7a9ec8c40904940735c0bcfe78b7e7e6 Mon Sep 17 00:00:00 2001 From: Derek Dombek Date: Tue, 20 Aug 2024 09:19:04 -0600 Subject: [PATCH] had to exclude playwright from vitest --- OCR/frontend/package.json | 3 +-- OCR/frontend/vite.config.ts | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/OCR/frontend/package.json b/OCR/frontend/package.json index 4d2ef67a..226abac4 100644 --- a/OCR/frontend/package.json +++ b/OCR/frontend/package.json @@ -24,8 +24,7 @@ "react": "^18.3.1", "react-dom": "^18.3.1", "react-image-label": "^1.3.0", - "react-router-dom": "^6.26.0", - "@rollup/rollup-linux-x64-gnu": "^4.21.0" + "react-router-dom": "^6.26.0" }, "devDependencies": { "@eslint/js": "^9.8.0", diff --git a/OCR/frontend/vite.config.ts b/OCR/frontend/vite.config.ts index 687b74ba..65c78971 100644 --- a/OCR/frontend/vite.config.ts +++ b/OCR/frontend/vite.config.ts @@ -5,6 +5,7 @@ import react from '@vitejs/plugin-react-swc' export default defineConfig({ plugins: [react()], test: { + exclude: ['./e2e', './e2e-examples', './playwright.config.ts'], globals: true, environment: 'jsdom', setupFiles: './tests/setup.js',