// SPDX-License-Identifier: AGPL-3.0-only // Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0 import path from "node:path"; import { defineConfig } from "vitest/config"; export default defineConfig({ resolve: { alias: { "@": path.resolve(__dirname, "./src") }, }, test: { environment: "happy-dom", globals: false, include: ["src/**/__tests__/**/*.test.ts", "src/**/*.test.ts"], restoreMocks: true, clearMocks: true, }, });