tests passing

pull/11265/head
Rich Harris 2 years ago
parent 7aa59f50b1
commit 9e05d9427c

@ -176,7 +176,7 @@ async function run_test_variant(
console.log = (...args) => logs.push(...args);
}
if (str.slice(0, i).includes('warnings')) {
if (str.slice(0, i).includes('warnings') || config.warnings) {
// eslint-disable-next-line no-console
console.warn = (...args) => warnings.push(...args);
}

Loading…
Cancel
Save