We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af2c41d commit 540180aCopy full SHA for 540180a
packages/mongodb-memory-server-core/jest.config.js
@@ -14,4 +14,8 @@ module.exports = {
14
testPathIgnorePatterns: ['/node_modules/', '/lib/'],
15
testMatch: ['**/__tests__/**/*.test.(ts|js)'],
16
testEnvironment: 'node',
17
+ collectCoverageFrom: [
18
+ '<rootDir>/src/**/*.ts', // include all files, even files that have no tests yet (or are never called)
19
+ '!<rootDir>/src/util/postinstallHelper.ts', // exclude this file, because it is only made for postInstall, not tests
20
+ ],
21
};
0 commit comments