-
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.
* arka success unit test * modified tests * removed tests for testing all unit tests * Added unit test cases of the paymaster * Added pimlicoPaymaster unit test cases * MOdified .env file name * Added assertions in the unit test cases * Added config.json.default file --------- Co-authored-by: Vignesh <[email protected]>
- Loading branch information
1 parent
32fb3a0
commit a741d8c
Showing
7 changed files
with
720 additions
and
88 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,5 +1,39 @@ | ||
/** @type {import('ts-jest').JestConfigWithTsJest} */ | ||
export default { | ||
preset: 'ts-jest', | ||
preset: 'ts-jest/presets/js-with-ts-esm', | ||
moduleNameMapper: { | ||
'^(\\.{1,2}/.*)\\.js$': '$1', | ||
}, | ||
testEnvironment: 'node', | ||
}; | ||
transform: { | ||
'^.+\\.ts?$': [ | ||
'ts-jest', | ||
{ | ||
useESM: true, | ||
}, | ||
], | ||
}, | ||
transformIgnorePatterns: [ | ||
'node_modules/(?!(data-uri-to-buffer|formdata-polyfill|fetch-blob|node-fetch)/)', | ||
], | ||
testPathIgnorePatterns: [ | ||
'/node_modules/', | ||
'/build/' | ||
], | ||
resetModules: true, | ||
testTimeout: 30000, | ||
coverageThreshold: { | ||
global: { | ||
statements: 95, | ||
branches: 75, | ||
functions: 100, | ||
lines: 95, | ||
}, | ||
}, | ||
coveragePathIgnorePatterns: [ | ||
'src/server.ts', | ||
'src/plugins/config.ts', | ||
], | ||
collectCoverage: true, | ||
coverageReporters: ["lcov", "text"] | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.