chore: speed up tests and update opencode models

This commit is contained in:
Peter Steinberger
2026-01-23 11:36:28 +00:00
parent bb9bddebb4
commit 8b7b7e154f
7 changed files with 79 additions and 48 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig, mergeConfig } from "vitest/config";
import { defineConfig } from "vitest/config";
import baseConfig from "./vitest.config.ts";
const baseTest = (baseConfig as { test?: { include?: string[]; exclude?: string[] } }).test ?? {};
@@ -9,12 +9,11 @@ const include = baseTest.include ?? [
];
const exclude = baseTest.exclude ?? [];
export default mergeConfig(
baseConfig,
defineConfig({
test: {
include,
exclude: [...exclude, "src/gateway/**", "extensions/**"],
},
}),
);
export default defineConfig({
...baseConfig,
test: {
...baseTest,
include,
exclude: [...exclude, "src/gateway/**", "extensions/**"],
},
});