mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-08-26 08:34:28 +02:00
Fix stale decorations (#4876)
* 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>
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
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
|
||||
|
Reference in New Issue
Block a user