Files
ThreadNet-Web/modules/widget-toggles/vitest.config.ts
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
621 B
TypeScript
Raw Normal View History

2026-06-08 11:59:47 +01:00
/*
Copyright 2026 Element Creations Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
2026-06-10 17:00:34 +01:00
import { defineProject } from "vitest/config";
2026-06-08 11:59:47 +01:00
import { playwright } from "@vitest/browser-playwright";
2026-06-10 17:00:34 +01:00
export default defineProject({
2026-06-08 11:59:47 +01:00
test: {
exclude: ["./e2e/**/*", "./node_modules/**/*"],
browser: {
enabled: true,
headless: true,
provider: playwright({}),
instances: [{ browser: "chromium" }],
},
2026-06-10 17:00:34 +01:00
setupFiles: ["src/tests/setupTests.ts"],
2026-06-08 11:59:47 +01:00
},
});