diff options
| author | Evan Senter <[email protected]> | 2025-04-18 18:29:27 +0100 |
|---|---|---|
| committer | Evan Senter <[email protected]> | 2025-04-18 18:36:33 +0100 |
| commit | dbf4c3a37c55b8e14c9fefd1f839d3555072e17b (patch) | |
| tree | 8ae6e7136eaec78573cd86fb982e4a725079bfe7 /packages/cli/vitest.config.ts | |
| parent | f330a87e50fb6e8e4f1949851f8f6b6cf53d7776 (diff) | |
Revert "Including a test harness for it, and making sure the cursor is always at the end."
This reverts commit 97db77997fd6369031d2f1cf750051999fb0b5b5.
Diffstat (limited to 'packages/cli/vitest.config.ts')
| -rw-r--r-- | packages/cli/vitest.config.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/packages/cli/vitest.config.ts b/packages/cli/vitest.config.ts deleted file mode 100644 index 298d19e9..00000000 --- a/packages/cli/vitest.config.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { defineConfig } from 'vitest/config'; -import react from '@vitejs/plugin-react'; // For JSX support -import path from 'path'; // Import path - -export default defineConfig({ - root: path.resolve(__dirname), // Explicitly set root to the current directory (packages/cli) - plugins: [react()], // Add React plugin for JSX/TSX - test: { - globals: true, // Use global APIs (describe, test, expect, vi) - environment: 'jsdom', // Changed environment to jsdom - // More specific include pattern to find the test file - include: ['src/**/*.test.{ts,tsx}'], - // Add setup files if needed (e.g., for global mocks, testing-library config) - // setupFiles: './src/test/setup.ts', - mockReset: true, // Reset mocks between tests - clearMocks: true, // Clear mock history between tests - alias: { - // Add path aliases if you use them in your src code - // Example: '@/*': path.resolve(__dirname, './src/*'), - }, - }, -}); |
