mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
5d612556d4
- Add fail-fast: false to unit test matrix strategies so one Node version failing doesn't cancel all other matrix jobs - Add retry: 2 to runtime-client-gql vitest config (Nx confirmed this package's tests as flaky during parallel execution) - Replace fragile setTimeout waits in middleware express tests with vi.waitFor() polling, which is resilient to CI timing variance https://claude.ai/code/session_01W2Kb2HXsjZett3HdqM9zay
13 lines
264 B
JavaScript
13 lines
264 B
JavaScript
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
globals: true,
|
|
include: ["src/**/*.{test,spec}.ts"],
|
|
reporters: [["default", { summary: false }]],
|
|
silent: true,
|
|
retry: 2,
|
|
},
|
|
});
|