[MM-55294] Migrate jest v26 to v29 to speed up "web app CI PR / test" (#25192)

Этот коммит содержится в:
M-ZubairAhmed
2023-11-07 11:41:26 +05:30
коммит произвёл GitHub
родитель 4dbf1f8c26
Коммит f733dc58fa
33 изменённых файлов: 8913 добавлений и 495 удалений

Просмотреть файл

@@ -15,7 +15,7 @@ const config = {
'^.+\\.(css|scss)$': 'identity-obj-proxy',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
setupFilesAfterEnv: ['<rootDir>/src/setupTests.ts'],
setupFilesAfterEnv: ['<rootDir>/setup_jest.ts'],
};
module.exports = config;

Просмотреть файл

@@ -18,6 +18,7 @@
"@rollup/plugin-commonjs": "^21.0.2",
"@rollup/plugin-node-resolve": "^13.1.3",
"@rollup/plugin-typescript": "^8.3.1",
"@testing-library/jest-dom": "5.16.4",
"@types/lodash": "^4.14.178",
"@types/react": "^17.0.2",
"@types/react-bootstrap": "^0.32.22",

Просмотреть файл

@@ -14,5 +14,8 @@
"outDir": "dist",
"rootDir": "src",
"composite": true
}
},
"include": [
"./src/**/*"
],
}