mirror of
https://github.com/pnpm/pnpm.git
synced 2026-02-02 03:02:49 -05:00
12 lines
343 B
JavaScript
12 lines
343 B
JavaScript
const path = require('path')
|
|
|
|
module.exports = {
|
|
preset: 'ts-jest',
|
|
testMatch: ["**/test/**/*.[jt]s?(x)", "**/src/**/*.test.ts"],
|
|
testEnvironment: 'node',
|
|
collectCoverage: true,
|
|
coveragePathIgnorePatterns: ['node_modules'],
|
|
testTimeout: 4 * 60 * 1000, // 4 minutes
|
|
setupFilesAfterEnv: [path.join(__dirname, 'jest.setup.js')],
|
|
};
|