mirror of
https://github.com/waaraawa/ByteGrid.git
synced 2026-07-22 06:41:47 +00:00
22 lines
505 B
JavaScript
22 lines
505 B
JavaScript
module.exports = {
|
|
preset: 'ts-jest',
|
|
testEnvironment: 'node',
|
|
roots: ['<rootDir>/packages'],
|
|
testMatch: ['**/__tests__/**/*.ts', '**/?(*.)+(spec|test).ts'],
|
|
collectCoverageFrom: [
|
|
'packages/*/src/**/*.ts',
|
|
'!packages/*/src/**/*.d.ts',
|
|
'!packages/*/src/index.ts',
|
|
],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 80,
|
|
functions: 80,
|
|
lines: 80,
|
|
statements: 80,
|
|
},
|
|
},
|
|
moduleNameMapper: {
|
|
'^@bytegrid/core$': '<rootDir>/packages/core/src',
|
|
},
|
|
};
|