Skip to content

Commit e5dda49

Browse files
committed
Add basic support for typescript tests
1 parent aef23e5 commit e5dda49

File tree

6 files changed

+673
-1361
lines changed

6 files changed

+673
-1361
lines changed

.eslintrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ module.exports = {
66
],
77
parser: '@typescript-eslint/parser',
88
parserOptions: {
9-
project: './tsconfig.json',
9+
project: './tsconfig.eslint.json',
1010
},
1111
rules: {
1212
'no-param-reassign': 'off',

jest.config.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import type { Config } from '@jest/types';
2+
3+
const config: Config.InitialOptions = {
4+
verbose: true,
5+
preset: 'ts-jest',
6+
};
7+
export default config;

0 commit comments

Comments
 (0)