mirror of
https://github.com/decolua/9router.git
synced 2026-05-08 12:01:28 +00:00
- Introduced OpenCode Go provider with relevant configurations. - Enhanced model management by allowing users to add and delete custom models. - Updated UI components to support model selection for image types. - Adjusted sidebar visibility to include image media kinds.
24 lines
628 B
JavaScript
24 lines
628 B
JavaScript
import { defineConfig } from "vitest/config";
|
|
import { resolve } from "path";
|
|
import { fileURLToPath } from "url";
|
|
|
|
const __dirname = fileURLToPath(new URL(".", import.meta.url));
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: "node",
|
|
globals: true,
|
|
include: ["**/*.test.js"],
|
|
// Suppress noisy console output from handlers under test
|
|
silent: false,
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
// Resolve open-sse/* imports to the actual local package
|
|
"open-sse": resolve(__dirname, "../open-sse"),
|
|
// Resolve @/* imports to src directory
|
|
"@": resolve(__dirname, "../src"),
|
|
},
|
|
},
|
|
});
|