diff --git a/jest.config.js b/jest.config.js index 563d4cc..89d4aa5 100644 --- a/jest.config.js +++ b/jest.config.js @@ -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 -} \ No newline at end of file +} diff --git a/tsconfig.json b/tsconfig.json index bf04706..2ee471b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,5 +1,6 @@ { "compilerOptions": { + "allowJs": true, "target": "es6", "module": "commonjs", "strict": true,