A full-featured CRM built with React, shadcn/ui, and Supabase.
Remove the notion of integration tests
fzaninotto2266af1537f1
diff --git a/.github/workflows/check.yml b/.github/workflows/check.ymlindex 01b343b8..1b9dc207 100644--- a/.github/workflows/check.yml+++ b/.github/workflows/check.yml@@ -71,9 +71,6 @@ jobs:- name: π Unit Tests on Supabase functionsrun: CI=1 npm run test:unit:functions -- --run- - name: π Integration Tests- run: CI=1 npm run test:integration -- --run-e2e-test:timeout-minutes: 10runs-on: ubuntu-latestdiff --git a/makefile b/makefileindex c01e859a..c4313b3e 100644--- a/makefile+++ b/makefile@@ -91,9 +91,6 @@ test-app:test-functions:npm run test:unit:functions-test-integration:- npm run test:integration-test-e2e: start-e2enpx playwright test --uidiff --git a/package.json b/package.jsonindex 3b59c469..85fa482f 100644--- a/package.json+++ b/package.json@@ -5,7 +5,6 @@"scripts": {"test:unit:app": "vitest --config vitest.config.ts","test:unit:functions": "vitest --config vitest.functions.config.ts",- "test:integration": "vitest --config vitest.integration.config.ts","dev": "vite --force","dev:demo": "vite --config vite.demo.config --force","build": "tsc && vite build",diff --git a/vitest.config.ts b/vitest.config.tsindex 903994d4..4107426d 100644--- a/vitest.config.ts+++ b/vitest.config.ts@@ -24,7 +24,6 @@ export default defineConfig({exclude: ["**/node_modules/**","doc/**",- "src/**/*.integration.test.{ts,tsx}","supabase/**","e2e/**/*.spec.{ts,tsx}",],diff --git a/vitest.integration.config.ts b/vitest.integration.config.tsdeleted file mode 100644index 306f1dbc..00000000--- a/vitest.integration.config.ts+++ /dev/null@@ -1,36 +0,0 @@-import path from "node:path";-import { playwright } from "@vitest/browser-playwright";-import react from "@vitejs/plugin-react";-import { defineConfig } from "vitest/config";--export default defineConfig({- plugins: [react()],- optimizeDeps: {- include: [- "faker/locale/en",- "faker/locale/en_US",- "jsonexport/dist",- "lodash",- "papaparse",- "ra-supabase-language-english",- ],- },- test: {- globals: true,- include: ["src/**/*.integration.test.{ts,tsx}"],- exclude: ["**/node_modules/**", "doc/**"],- setupFiles: ["./src/test/setup.integration.ts"],- browser: {- provider: playwright(),- enabled: true,- headless: true,- instances: [{ browser: "chromium" }],- },- },- resolve: {- preserveSymlinks: true,- alias: {- "@": path.resolve(__dirname, "./src"),- },- },-});