Skip to content

Commit

Permalink
test(ts): covers Dec precision fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ygrishajev committed Apr 8, 2024
1 parent acf7703 commit 7b7b6af
Show file tree
Hide file tree
Showing 7 changed files with 4,406 additions and 982 deletions.
25 changes: 25 additions & 0 deletions ts/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
const common = {
transform: {
'^.+\\.(t|j)s$': ['ts-jest', { tsconfig: './tsconfig.json' }],
},
rootDir: '.',
setupFiles: ['./test/setup.ts'],
};

module.exports = {
collectCoverageFrom: ['./src/**/*.{js,ts}'],
projects: [
{
displayName: 'unit',
...common,
testMatch: ['<rootDir>/src/**/*.spec.ts'],
setupFilesAfterEnv: ['./test/setup-unit-tests.ts'],
},
{
displayName: 'functional',
...common,
testMatch: ['<rootDir>/test/functional/**/*.spec.ts'],
setupFilesAfterEnv: ['./test/setup-functional-tests.ts'],
},
],
};
Loading

0 comments on commit 7b7b6af

Please sign in to comment.