chore(deps): update `jest`

This commit is contained in:
evilebottnawi 2020-02-25 16:17:03 +03:00
parent fbb052f598
commit ffb83b8f16
3 changed files with 9 additions and 9 deletions

View File

@ -52,9 +52,9 @@
"glob": "^7.1.3",
"husky": "^3.0.2",
"istanbul": "^0.4.5",
"jest": "^24.9.0",
"jest-diff": "^24.9.0",
"jest-junit": "^8.0.0",
"jest": "^25.1.0",
"jest-diff": "^25.1.0",
"jest-junit": "^10.0.0",
"json-loader": "^0.5.7",
"json-schema-to-typescript": "^7.0.0",
"json5": "^2.1.1",

View File

@ -1,4 +1,4 @@
const jestDiff = require("jest-diff");
const jestDiff = require("jest-diff").default;
const stripAnsi = require("strip-ansi");
const {
applyWebpackOptionsDefaults,
@ -175,7 +175,7 @@ describe("Defaults", () => {
"idHint": "vendors",
"priority": -10,
"reuseExistingChunk": true,
"test": /\\[\\\\\\\\/\\]node_modules\\[\\\\\\\\/\\]/i,
"test": /\\[\\\\\\\\\\\\/\\]node_modules\\[\\\\\\\\\\\\/\\]/i,
},
},
"chunks": "async",
@ -805,7 +805,7 @@ describe("Defaults", () => {
- "idHint": "vendors",
- "priority": -10,
- "reuseExistingChunk": true,
- "test": /[\\\\/]node_modules[\\\\/]/i,
- "test": /[\\\\\\/]node_modules[\\\\\\/]/i,
- },
- },
- "chunks": "async",

View File

@ -1384,9 +1384,9 @@ Entrypoint <CLR=BOLD>main</CLR> = <CLR=32,BOLD>main.js</CLR>
<CLR=31,BOLD>DEBUG</CLR> <CLR=BOLD>LOG from ./node_modules/custom-loader/index.js ./node_modules/custom-loader/index.js!./index.js</CLR>
<e> <CLR=31,BOLD>An error</CLR>
| at Object.<anonymous>.module.exports (Xdir/logging/node_modules/custom-loader/index.js:5:9)
| at Object.module.exports (Xdir/logging/node_modules/custom-loader/index.js:5:9)
<w> <CLR=33,BOLD>A warning</CLR>
| at Object.<anonymous>.module.exports (Xdir/logging/node_modules/custom-loader/index.js:6:9)
| at Object.module.exports (Xdir/logging/node_modules/custom-loader/index.js:6:9)
<-> <CLR=36,BOLD>Unimportant</CLR>
<i> <CLR=32,BOLD>Info message</CLR>
<CLR=BOLD>Just log</CLR>
@ -1395,7 +1395,7 @@ Entrypoint <CLR=BOLD>main</CLR> = <CLR=32,BOLD>main.js</CLR>
<-> <CLR=36,BOLD>Nested</CLR>
<CLR=BOLD>Log inside collapsed group</CLR>
Trace
| at Object.<anonymous>.module.exports (Xdir/logging/node_modules/custom-loader/index.js:15:9)
| at Object.module.exports (Xdir/logging/node_modules/custom-loader/index.js:15:9)
<t> <CLR=35,BOLD>Measure: Xms</CLR>
-------
<CLR=BOLD>After clear</CLR>