Skip to content

Commit

Permalink
Update Jest config
Browse files Browse the repository at this point in the history
Signed-off-by: Levi Pesin <[email protected]>
  • Loading branch information
LeviPesin committed Jan 26, 2024
1 parent 85e4131 commit 9ae8d4a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions test/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
export default {
rootDir: "..",

transform: {},

clearMocks: true,

collectCoverage: true,
collectCoverageFrom: ["../src/**"],
coverageDirectory: "coverage",
collectCoverageFrom: ["<rootDir>/src/**/*.js"],
coverageDirectory: "<rootDir>/test/coverage",
coverageProvider: "babel",

errorOnDeprecated: true,

testMatch: ["**/*.test.js"],
testMatch: ["<rootDir>/**/*.test.js"],

reporters: [['github-actions', { silent: false }], 'summary']
};

0 comments on commit 9ae8d4a

Please sign in to comment.