Remove spammy i18 output during shared component tests (#34184)
This commit is contained in:
@@ -40,6 +40,11 @@ export default defineConfig({
|
|||||||
reporter: [["lcov", { projectRoot: "../../" }]],
|
reporter: [["lcov", { projectRoot: "../../" }]],
|
||||||
},
|
},
|
||||||
reporters: rootConfig.test?.reporters,
|
reporters: rootConfig.test?.reporters,
|
||||||
|
onConsoleLog(log: string): boolean | void {
|
||||||
|
// Suppress the i18n language-loading log; it fires on every
|
||||||
|
// setLanguage() call in setup and adds noise to test output.
|
||||||
|
if (log.startsWith("Loading language from")) return false;
|
||||||
|
},
|
||||||
environment: "node",
|
environment: "node",
|
||||||
pool: "threads",
|
pool: "threads",
|
||||||
globals: false,
|
globals: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user