[MM-55294] Migrate jest v26 to v29 to speed up "web app CI PR / test" (#25192)
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
4dbf1f8c26
Коммит
f733dc58fa
@@ -41,14 +41,20 @@ const config = {
|
||||
'node_modules/(?!react-native|react-router|p-queue|p-timeout|@mattermost/compass-components|@mattermost/compass-icons)',
|
||||
],
|
||||
setupFiles: ['jest-canvas-mock'],
|
||||
setupFilesAfterEnv: ['<rootDir>/src/tests/setup.ts'],
|
||||
setupFilesAfterEnv: ['<rootDir>/src/tests/setup_jest.ts'],
|
||||
testEnvironment: 'jsdom',
|
||||
testTimeout: 60000,
|
||||
testURL: 'http://localhost:8065',
|
||||
testEnvironmentOptions: {
|
||||
url: 'http://localhost:8065',
|
||||
},
|
||||
watchPlugins: [
|
||||
'jest-watch-typeahead/filename',
|
||||
'jest-watch-typeahead/testname',
|
||||
],
|
||||
snapshotFormat: {
|
||||
escapeString: true,
|
||||
printBasicPrototype: true,
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
Ссылка в новой задаче
Block a user