15 lines
304 B
TypeScript
15 lines
304 B
TypeScript
import type { Config } from "jest";
|
|
|
|
const config: Config = {
|
|
collectCoverage: true,
|
|
coverageDirectory: "../test-coverage",
|
|
coverageProvider: "v8",
|
|
testEnvironment: "jest-environment-node",
|
|
transform: {
|
|
"^.+\\.m?[t]s?$": ["@swc/jest", {}],
|
|
},
|
|
rootDir: "src",
|
|
};
|
|
|
|
export default config;
|