16 lines
403 B
JavaScript
16 lines
403 B
JavaScript
import { cloudflareTest } from '@cloudflare/vitest-pool-workers';
|
|
import { configDefaults, defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
plugins: [
|
|
cloudflareTest({
|
|
wrangler: { configPath: './wrangler.toml' }
|
|
})
|
|
],
|
|
test: {
|
|
exclude: [...configDefaults.exclude, 'test/unit/commitlint-workflow.test.js'],
|
|
testTimeout: 60000,
|
|
hookTimeout: 30000
|
|
}
|
|
});
|