mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-17 05:28:35 +01:00
1b205c087b
* test changes * fix decoration not updating * Add changeset * Fix lint issues * Tests with earlier version of Node.js * Bump node version on CI The base typescript config uses ESNext as target, so presumably the latest node should be used. Co-authored-by: Dylan Schiemann <dylan@dojotoolkit.org>
13 lines
274 B
JavaScript
13 lines
274 B
JavaScript
const config = {
|
|
testMatch: ['<rootDir>/packages/slate-react/test/**/*.{js,ts,tsx,jsx}'],
|
|
preset: 'ts-jest',
|
|
globals: {
|
|
'ts-jest': {
|
|
tsconfig: '<rootDir>/packages/slate-react/tsconfig.json',
|
|
},
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
}
|
|
|
|
module.exports = config
|