We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2fafd commit 511adadCopy full SHA for 511adad
test/setup-tests.js
@@ -10,7 +10,7 @@ global.window.app = {
10
const logOrThrow = (log, method, messages) => {
11
const warning = `console.${method} calls not allowed in tests`;
12
if (process.env.CI) {
13
- log(...messages);
+ log(warning, '\n', ...messages);
14
throw new Error(warning);
15
} else {
16
log(colors.bgYellow.black(' WARN '), warning, '\n', ...messages);
0 commit comments