fix: allow running tests

This commit is contained in:
Harsh Shandilya 2023-06-02 17:56:53 +00:00
parent b1d7f0e85d
commit 41c645f2e0
2 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,9 @@ module.exports = {
testMatch: ['**/*.test.ts'], testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner', testRunner: 'jest-circus/runner',
transform: { transform: {
'^.+\\.ts$': 'ts-jest' '^.+\\.ts$': 'ts-jest',
'^.+\\.js$': 'ts-jest'
}, },
transformIgnorePatterns: ["node_modules/(?!unified)/"],
verbose: true verbose: true
} }

View File

@ -1,5 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"allowJs": true,
"target": "es6", "target": "es6",
"module": "commonjs", "module": "commonjs",
"strict": true, "strict": true,