summaryrefslogtreecommitdiff
path: root/addons/web/static/tests
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/tests')
-rw-r--r--addons/web/static/tests/helpers/qunit_config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/tests/helpers/qunit_config.js b/addons/web/static/tests/helpers/qunit_config.js
index a8c42fee8b3..158c67b2891 100644
--- a/addons/web/static/tests/helpers/qunit_config.js
+++ b/addons/web/static/tests/helpers/qunit_config.js
@@ -183,9 +183,9 @@ QUnit.on('OdooAfterTestHook', function (info) {
// check for leftovers in #qunit-fixture
const qunitFixture = document.getElementById('qunit-fixture');
if (qunitFixture.children.length) {
- // console.error('#qunit-fixture still contains elements:' +
- // '\n#qunit-fixture HTML:\n' + qunitFixture.outerHTML);
- // QUnit.pushFailure(`#qunit-fixture still contains elements`);
+ console.error('#qunit-fixture still contains elements:' +
+ '\n#qunit-fixture HTML:\n' + qunitFixture.outerHTML);
+ QUnit.pushFailure(`#qunit-fixture still contains elements`);
toRemove.push(...qunitFixture.children);
}