Skip to content

Commit

Permalink
Issue ONEST-Network#12 feat: Added jest framework
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishekpnt committed Apr 19, 2024
1 parent 0af8884 commit ed97e72
Show file tree
Hide file tree
Showing 7 changed files with 10,510 additions and 6,749 deletions.
21 changes: 21 additions & 0 deletions seeker-portal/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
export { };
module.exports = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!src/**/*.d.ts',
'!**/vendor/**'],
coverageDirectory: 'coverage',
testEnvironment: 'jsdom',
transform: {
".(ts|tsx)": "ts-jest"
},

coveragePathIgnorePatterns: [
"/node_modules/",
"/coverage",
"package.json",
"package-lock.json",
"reportWebVitals.ts",
"setupTests.ts",
"index.tsx"
],
}
Loading

0 comments on commit ed97e72

Please sign in to comment.