fix(ci): appease oxlint in vitest configs

This commit is contained in:
Peter Steinberger
2026-02-15 04:08:03 +00:00
parent b6f2c3b746
commit cbf712b7be
5 changed files with 10 additions and 5 deletions

View File

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