This commit is contained in:
Darren Clarke 2024-03-16 12:51:56 +01:00
parent c095fa7042
commit 43bfdaa1e3
186 changed files with 276 additions and 37155 deletions

View file

@ -0,0 +1,21 @@
module.exports = {
testEnvironment: 'node',
roots: ["<rootDir>", "<rootDir>/src"],
passWithNoTests: true,
testMatch: ["<rootDir>/src/**/*.spec.{ts,tsx}"],
silent: false,
verbose: true,
collectCoverage: true,
coverageDirectory: "coverage",
testPathIgnorePatterns: [
"/node_modules"
],
/*
The modulePathIgnorePatterns accepts these sorts of paths:
<rootDir>/src
<rootDir>/src/file.ts
...and ignores anything else under <rootDir>
*/
modulePathIgnorePatterns: ["^<rootDir>/(?!(?:src/)|(?:src$))"]
};