[FIX] web_editor, test_lint: clean test HTML in utils tests

Test HTML being inserted for the utils tests was not cleaned at the end
of the tests.

X-original-commit: 092cee52b343665ea3ca90e4f4aa302318a763b5
Part-of: odoo/odoo#138549
This commit is contained in:
Antoine Guenet
2023-10-13 07:33:55 +00:00
parent 7cefa81f7e
commit 8438972939
2 changed files with 3 additions and 0 deletions
@@ -67,6 +67,8 @@ const insertTestHtml = innerHtml => {
};
describe('Utils', () => {
afterEach(cleanTestHtml);
//------------------------------------------------------------------------------
// Position and sizes
//------------------------------------------------------------------------------
+1
View File
@@ -46,6 +46,7 @@
"chai": "readonly",
"describe": "readonly",
"it": "readonly",
"afterEach": "readonly",
"mocha": "readonly",
"DOMPurify": "readonly"
}