chore: remove old vitest .ts config files
Replaced with .mjs versions for proper ESM support.
This commit is contained in:
parent
192284ad07
commit
92e4f5c467
2 changed files with 0 additions and 41 deletions
|
|
@ -1,18 +0,0 @@
|
|||
import { resolve } from 'node:path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
include: ['src/**/*.test.ts'],
|
||||
exclude: ['src/test/integration/**/*.test.ts', 'node_modules/**'],
|
||||
setupFiles: ['./src/test/setup.ts'],
|
||||
testTimeout: 30000, // 30s for API calls
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
import { resolve } from 'node:path';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
test: {
|
||||
globals: true,
|
||||
environment: 'node',
|
||||
include: ['src/test/integration/**/*.integration.test.ts'],
|
||||
setupFiles: ['./src/test/integration/setup-integration.ts'],
|
||||
testTimeout: 60000, // 60s for API calls to production
|
||||
// Run tests sequentially to avoid race conditions on shared test data
|
||||
sequence: {
|
||||
concurrent: false,
|
||||
},
|
||||
// Fail fast on integration tests
|
||||
bail: 5,
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
'~': resolve(__dirname, './src'),
|
||||
},
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue