-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added unit test case for epv07 * Reverted files * Reverted file * Reverted file
- Loading branch information
1 parent
b3bf21c
commit 58a37f8
Showing
4 changed files
with
2,121 additions
and
788 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,33 @@ | ||
/** @type {import('ts-jest').JestConfigWithTsJest} */ | ||
export default { | ||
preset: 'ts-jest/presets/js-with-ts-esm', | ||
preset: "ts-jest/presets/js-with-ts-esm", | ||
moduleNameMapper: { | ||
'^(\\.{1,2}/.*)\\.js$': '$1', | ||
"^(\\.{1,2}/.*)\\.js$": "$1", | ||
}, | ||
testEnvironment: 'node', | ||
testEnvironment: "node", | ||
transform: { | ||
'^.+\\.ts?$': [ | ||
'ts-jest', | ||
{ | ||
useESM: true, | ||
}, | ||
], | ||
"^.+\\.ts?$": [ | ||
"ts-jest", | ||
{ | ||
useESM: true, | ||
}, | ||
], | ||
}, | ||
transformIgnorePatterns: [ | ||
'node_modules/(?!(data-uri-to-buffer|formdata-polyfill|fetch-blob|node-fetch)/)', | ||
], | ||
testPathIgnorePatterns: [ | ||
'/node_modules/', | ||
'/build/' | ||
"node_modules/(?!(data-uri-to-buffer|formdata-polyfill|fetch-blob|node-fetch)/)", | ||
], | ||
testPathIgnorePatterns: ["/node_modules/", "/build/"], | ||
resetModules: true, | ||
testTimeout: 30000, | ||
testTimeout: 90000, | ||
coverageThreshold: { | ||
global: { | ||
statements: 95, | ||
branches: 75, | ||
functions: 100, | ||
lines: 95, | ||
}, | ||
global: { | ||
statements: 95, | ||
branches: 75, | ||
functions: 100, | ||
lines: 95, | ||
}, | ||
}, | ||
coveragePathIgnorePatterns: [ | ||
'src/server.ts', | ||
'src/plugins/config.ts', | ||
], | ||
coveragePathIgnorePatterns: ["src/server.ts", "src/plugins/config.ts"], | ||
collectCoverage: true, | ||
coverageReporters: ["lcov", "text"] | ||
} | ||
coverageReporters: ["lcov", "text"], | ||
}; |
Oops, something went wrong.