1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-16 04:42:05 +03:00
Files
matrix-js-sdk/vitest.config.ts
Michael Telatynski 93f825a34f Stash jest->vitest migration
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2025-02-05 13:15:13 +00:00

21 lines
537 B
TypeScript

/*
Copyright 2025 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
coverage: {
provider: "v8",
include: ["spec/**/*"],
reporter: "lcov",
},
reporters: [["vitest-sonar-reporter", { outputFile: "coverage/sonar-report.xml" }]],
setupFiles: "spec/setupTests.ts",
},
});