1
0
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:
Nemanja Tosic
2022-03-09 12:06:18 +01:00
committed by GitHub
parent 111f8ca9e3
commit 1b205c087b
11 changed files with 357 additions and 87 deletions

View File

@@ -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