mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-01-16 13:09:31 +01:00
c4c14882ed
* incremental upgrade to React 18, TS 4.9, etc. * update yarn config * fix build * minor cleanup in type definitions * incremental updates for TS 5.0 * fix build * upgrade to typescript 5.2 * update dependencies * fix lint issues * update to latest Playwright version * update changesets dep * update emotion/css * incremental dependency updates * more small dependency updates * upgrade prettier and eslint * fix lint issues * update dependencies rollup * fix @types/node resolution to restore linting * update tiny-invariant dependency * update dependencies * update dependencies lerna * upgrade react-router-dom * update @types/react and @types/node * update babel dependencies * udpate simple-git-hooks * update @types/node resolution * update lint-staged * remove cypress from dependency list * update @types/node to support Node 20 * update workflows to Node 20 * set resolutions for @types/react * downgrade @types/react to 18.2.28 * update mocha * update rimraf * update @types/js-dom * remove .lintstagedrc.js * upgrade next to latest * v0.61.4 * update lerna * update faker and rollup * update immer * fix yarn clean command * attempt to fix integration tests * attempt to stabilize integration tests * wip fix integration tests * skip unstable integration test * Add changeset --------- Co-authored-by: Dalibor Tosic <dalibortosic00@gmail.com> Co-authored-by: Nikola <nikolabijelic14@gmail.com>
16 lines
320 B
JavaScript
16 lines
320 B
JavaScript
const config = {
|
|
testMatch: ['<rootDir>/packages/slate-react/test/**/*.{js,ts,tsx,jsx}'],
|
|
preset: 'ts-jest',
|
|
transform: {
|
|
'^.+\\.(ts|tsx)$': [
|
|
'ts-jest',
|
|
{
|
|
tsconfig: '<rootDir>/packages/slate-react/tsconfig.json',
|
|
},
|
|
],
|
|
},
|
|
testEnvironment: 'jsdom',
|
|
}
|
|
|
|
module.exports = config
|