/
githubmirror
/
webpack
Обзор
Документация
Войти
/
githubmirror
/
webpack
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
test/statsCases/logging-debug/__snapshots__/StatsTest.snap
27 строк
1 KB
hai-x
test: generate snapshots per stats test case (#20785)
07 апр 2026, 22:00
Не верифицирован
07 апр 2026, 22:00
955a68c
Код
Авторство
О чём код?
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing exports[`StatsTestCases logging-debug should print correct stats for logging-debug 1`] = ` "<i> <CLR=32,BOLD>[LogTestPlugin] Info</CLR> asset <CLR=32,BOLD>main.js</CLR> X bytes <CLR=32,BOLD>[emitted]</CLR> (name: main) <CLR=BOLD>./index.js</CLR> X bytes <CLR=33,BOLD>[built]</CLR> <CLR=33,BOLD>[code generated]</CLR> <CLR=31,BOLD>DEBUG</CLR> <CLR=BOLD>LOG from ../logging/node_modules/custom-loader/index.js ../logging/node_modules/custom-loader/index.js!./index.js</CLR> <e> <CLR=31,BOLD>An error</CLR> <w> <CLR=33,BOLD>A warning</CLR> <-> <CLR=36,BOLD>Unimportant</CLR> <i> <CLR=32,BOLD>Info message</CLR> <CLR=BOLD>Just log</CLR> Just debug <t> <CLR=35,BOLD>Measure: X ms</CLR> <-> <CLR=36,BOLD>Nested</CLR> <CLR=BOLD>Log inside collapsed group</CLR> Trace <t> <CLR=35,BOLD>Measure: X ms</CLR> ------- <CLR=BOLD>After clear</CLR> <CLR=31,BOLD>DEBUG</CLR> <CLR=BOLD>LOG from ../logging/node_modules/custom-loader/index.js Named Logger ../logging/node_modules/custom-loader/index.js!./index.js</CLR> Message with named logger webpack x.x.x compiled <CLR=32,BOLD>successfully</CLR> in X ms" `;