add unit test
This commit is contained in:
parent
275bd37552
commit
02932ee64b
21 changed files with 19754 additions and 19754 deletions
|
|
@ -1,15 +1,15 @@
|
|||
const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
||||
const { compilerOptions } = require('./tsconfig');
|
||||
|
||||
module.exports = {
|
||||
preset: 'jest-preset-angular',
|
||||
roots: ['<rootDir>/src/'],
|
||||
testMatch: ['**/+(*.)+(spec).+(ts)'],
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test.ts'],
|
||||
collectCoverage: true,
|
||||
coverageReporters: ['html'],
|
||||
coverageDirectory: 'coverage/my-app',
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths || {}, {
|
||||
prefix: '<rootDir>/'
|
||||
})
|
||||
const { pathsToModuleNameMapper } = require('ts-jest/utils');
|
||||
const { compilerOptions } = require('./tsconfig');
|
||||
|
||||
module.exports = {
|
||||
preset: 'jest-preset-angular',
|
||||
roots: ['<rootDir>/src/'],
|
||||
testMatch: ['**/+(*.)+(spec).+(ts)'],
|
||||
setupFilesAfterEnv: ['<rootDir>/src/test.ts'],
|
||||
collectCoverage: true,
|
||||
coverageReporters: ['html'],
|
||||
coverageDirectory: 'coverage/my-app',
|
||||
moduleNameMapper: pathsToModuleNameMapper(compilerOptions.paths || {}, {
|
||||
prefix: '<rootDir>/'
|
||||
})
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue