fix: allow running tests
This commit is contained in:
parent
b1d7f0e85d
commit
41c645f2e0
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
|
"allowJs": true,
|
||||||
"target": "es6",
|
"target": "es6",
|
||||||
"module": "commonjs",
|
"module": "commonjs",
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|
Loading…
Reference in New Issue