chore(deps): update jest monorepo to v28 (major) (#4282)
Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: William Durand <will+git@drnd.me>
This commit is contained in:
Родитель
80e3935f26
Коммит
0d5cdff22e
|
@ -24,7 +24,7 @@ module.exports = {
|
|||
],
|
||||
transform: {
|
||||
'^.+\\.js$': 'babel-jest',
|
||||
'^.+\\.txt$': 'jest-raw-loader',
|
||||
'^.+\\.txt$': '<rootDir>/tests/jest-raw-loader.js',
|
||||
},
|
||||
transformIgnorePatterns: ['<rootDir>/node_modules/'],
|
||||
testEnvironment: 'node',
|
||||
|
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -91,15 +91,14 @@
|
|||
"async": "3.2.3",
|
||||
"babel-core": "7.0.0-bridge.0",
|
||||
"babel-gettext-extractor": "4.1.3",
|
||||
"babel-jest": "27.5.1",
|
||||
"babel-jest": "28.0.2",
|
||||
"babel-loader": "8.2.5",
|
||||
"comment-json": "4.2.2",
|
||||
"eslint-config-amo": "5.4.0",
|
||||
"eslint-config-amo": "5.5.0",
|
||||
"github-markdown-css": "5.1.0",
|
||||
"gunzip-maybe": "1.4.2",
|
||||
"hashish": "0.0.4",
|
||||
"jest": "27.5.1",
|
||||
"jest-raw-loader": "1.0.1",
|
||||
"jest": "28.0.2",
|
||||
"lodash.clonedeep": "4.5.0",
|
||||
"lodash.ismatchwith": "4.4.0",
|
||||
"markdown-it": "13.0.0",
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
// See: https://jestjs.io/docs/code-transformation#typescript-with-type-checking
|
||||
module.exports = {
|
||||
process(sourceText) {
|
||||
return {
|
||||
code: `module.exports = ${JSON.stringify(sourceText)};`,
|
||||
};
|
||||
},
|
||||
};
|
Загрузка…
Ссылка в новой задаче