Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
19 lines
621 B
Plaintext
19 lines
621 B
Plaintext
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const config_1 = require("vitest/config");
|
|
const isBrowser = process.env.BROWSER === "true";
|
|
exports.default = (0, config_1.defineConfig)({
|
|
test: {
|
|
environment: isBrowser ? "jsdom" : "node",
|
|
dir: "test",
|
|
exclude: ["**/__IGNORED__/**"],
|
|
watch: false,
|
|
globalSetup: isBrowser ? ["./test/fixtures/server.ts"] : undefined,
|
|
testTimeout: 5000,
|
|
globals: true,
|
|
passWithNoTests: true,
|
|
reporters: ["verbose"],
|
|
coverage: { reporter: ["lcov", "html", "text"] },
|
|
},
|
|
});
|