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'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.ts$': 'ts-jest'
'^.+\\.ts$': 'ts-jest',
'^.+\\.js$': 'ts-jest'
},
transformIgnorePatterns: ["node_modules/(?!unified)/"],
verbose: true
}
}

View File

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