Skip to content

Commit

Permalink
improve test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
OskarDamkjaer committed Oct 16, 2023
1 parent 08c9d3c commit f2509f3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
module.exports = {
preset: 'ts-jest/presets/js-with-ts',
testEnvironment: 'node',
modulePathIgnorePatterns: ['out', 'e2e_tests'],
modulePathIgnorePatterns: ['out', 'e2e_tests', 'dist', 'esm'],
};
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/language-support/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const sharedConfig = require('../../jest.config.base.js')
const sharedConfig = require('../../jest.config.base.js');

module.exports = sharedConfig
module.exports = sharedConfig;
4 changes: 2 additions & 2 deletions packages/react-codemirror-experimental/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import sharedConfig from '../../jest.config.base.js';
const sharedConfig = require('../../jest.config.base');

export default sharedConfig;
module.exports = sharedConfig;
3 changes: 2 additions & 1 deletion packages/react-codemirror-experimental/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "../../tsconfig.base.json",
"include": ["src"],
"compilerOptions": {
"jsx": "react-jsx"
"jsx": "react-jsx",
"allowJs": true
}
}

0 comments on commit f2509f3

Please sign in to comment.