WizardConnect/packages/react/vitest.config.ts

20 lines
657 B
TypeScript
Raw Normal View History

// Copyright (C) 2026 Whiterun LLC,
// This software is licensed under the GNU Lesser General Public License (LGPL), version 3.0 or later.
// A copy of the license can be found in the LICENSE file or at https://www.gnu.org/licenses/lgpl-3.0.html
import path from "path";
import { defineConfig } from "vitest/config";
export default defineConfig({
resolve: {
alias: {
"@wizardconnect/core": path.resolve(__dirname, "../core/src/index.ts"),
"@wizardconnect/dapp": path.resolve(__dirname, "../dapp/src/index.ts"),
},
},
test: {
environment: "happy-dom",
exclude: ["**/*.integration.test.ts", "**/node_modules/**"],
},
});