[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:
@@ -67,6 +67,8 @@ const insertTestHtml = innerHtml => {
|
||||
};
|
||||
|
||||
describe('Utils', () => {
|
||||
afterEach(cleanTestHtml);
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Position and sizes
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
"chai": "readonly",
|
||||
"describe": "readonly",
|
||||
"it": "readonly",
|
||||
"afterEach": "readonly",
|
||||
"mocha": "readonly",
|
||||
"DOMPurify": "readonly"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user