mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-02-22 18:45:44 -05:00
17 lines
489 B
TypeScript
17 lines
489 B
TypeScript
|
import type { Config } from "@jest/types";
|
||
|
// Sync object
|
||
|
const jestConfig: Config.InitialOptions = {
|
||
|
verbose: true,
|
||
|
transform: {
|
||
|
"^.+\\.tsx?$": "ts-jest",
|
||
|
},
|
||
|
moduleNameMapper: {
|
||
|
"^@bp/(.*)$": "<rootDir>/src/$1",
|
||
|
},
|
||
|
clearMocks: true,
|
||
|
resetMocks: true,
|
||
|
modulePathIgnorePatterns: ["<rootDir>/build/", "<rootDir>/dist/"],
|
||
|
coveragePathIgnorePatterns: ["<rootDir>/node_modules/", "<rootDir>/test/", "<rootDir>/build/", "<rootDir>/dist/"]
|
||
|
};
|
||
|
export default jestConfig;
|