fix: add more testsx
This commit is contained in:
17
vitest.config.ts
Normal file
17
vitest.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import tsconfigPaths from 'vite-tsconfig-paths';
|
||||
import { defineConfig } from 'vitest/config';
|
||||
|
||||
export default defineConfig({
|
||||
cacheDir: '.vitest',
|
||||
test: {
|
||||
include: ['src/**/*.spec.ts', 'tests-examples'],
|
||||
globals: true,
|
||||
browser: {
|
||||
provider: 'playwright', // or 'webdriverio'
|
||||
enabled: true,
|
||||
// at least one instance is required
|
||||
instances: [{ browser: 'chromium' }],
|
||||
},
|
||||
},
|
||||
plugins: [tsconfigPaths({})],
|
||||
});
|
||||
Reference in New Issue
Block a user