mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 13:46:16 -08:00
build: adapt ts and jest config
This commit is contained in:
1 parent
6221d3ec72
commit
63932056dd
2 files changed
+8
-14
No files matched your search
+7
-13
@@ -1,14 +1,8 @@
|
||||
module.exports = {
|
||||
"preset": "jest-preset-angular",
|
||||
"resetMocks": true,
|
||||
"setupFilesAfterEnv": [
|
||||
"<rootDir>/src/setup-jest.ts"
|
||||
],
|
||||
"testMatch": [
|
||||
"**/+(*.)+(spec|test).+(ts)?(x)"
|
||||
],
|
||||
"coverageReporters": [
|
||||
"html",
|
||||
"lcov"
|
||||
]
|
||||
};
|
||||
preset: 'jest-preset-angular',
|
||||
resetMocks: true,
|
||||
setupFilesAfterEnv: ['<rootDir>/src/setup-jest.ts'],
|
||||
testMatch: ['**/+(*.)+(spec|test).+(ts)?(x)'],
|
||||
coverageReporters: ['html', 'lcov'],
|
||||
transformIgnorePatterns: ['node_modules/(?!.*.mjs$|@datorama/akita)'],
|
||||
};
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
"moduleResolution": "node",
|
||||
"emitDecoratorMetadata": true,
|
||||
"experimentalDecorators": true,
|
||||
"target": "es5",
|
||||
"target": "es6",
|
||||
"typeRoots": ["node_modules/@types"],
|
||||
"lib": ["es2017", "es2016", "es2015", "dom"],
|
||||
"resolveJsonModule": true,
|
||||
|
||||
Reference in new issue
Block a user