Skip to content

Commit

Permalink
refactor, ts-jest, tree shake esm, cjs build, typedef
Browse files Browse the repository at this point in the history
  • Loading branch information
heyAyushh committed Aug 26, 2024
1 parent c72188a commit b2c403d
Show file tree
Hide file tree
Showing 25 changed files with 7,701 additions and 2,817 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
src/temp
tests/temp
dist
node_modules
test-ledger
.env*
.env*
coverage
15 changes: 15 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/** @type {import('ts-jest').JestConfigWithTsJest} **/
export default {
testEnvironment: "node",
preset: 'ts-jest',
testMatch: ['**/tests/**/*.test.ts'],
testPathIgnorePatterns: ['/node_modules/', '/tests/bankrun_test/'],
transform: {
'^.+\\.(ts|tsx)?$': ["ts-jest",{
tsconfig: 'tsconfig.test.json',
diagnostics: {
exclude: ['tests/bankrun_test/**'],
}
}],
},
};
Loading

0 comments on commit b2c403d

Please sign in to comment.