mirror of
https://github.com/lissy93/networking-toolbox.git
synced 2026-11-21 05:24:09 +03:00
Co-authored-by: Alicia Sykes <1862727+lissy93@users.noreply.github.com>
15 lines
417 B
TypeScript
15 lines
417 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['tests/api/**/*.{test,spec}.{js,ts}'],
|
|
environment: 'node',
|
|
globals: true,
|
|
testTimeout: 30000, // API tests might take longer
|
|
retry: process.env.CI ? 2 : 0, // Some endpoints depend on flaky third-party services
|
|
hookTimeout: 10000,
|
|
teardownTimeout: 10000,
|
|
reporters: ['verbose'],
|
|
}
|
|
});
|