diff options
Diffstat (limited to 'addons/web/static/tests/core/dom_tests.js')
| -rw-r--r-- | addons/web/static/tests/core/dom_tests.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/addons/web/static/tests/core/dom_tests.js b/addons/web/static/tests/core/dom_tests.js index ab10bbb78f8..c57ced52099 100644 --- a/addons/web/static/tests/core/dom_tests.js +++ b/addons/web/static/tests/core/dom_tests.js @@ -30,7 +30,11 @@ function prepareAutoresizeTextArea(options) { QUnit.module('core', {}, function () { QUnit.module('dom', {}, function () { - QUnit.module('autoresize'); + QUnit.module('autoresize', { + afterEach: function () { + $('#qunit-fixture').find('textarea').remove(); + }, + }); QUnit.test('autoresize (border-box): no padding + no border', function (assert) { assert.expect(3); |
