mirror of
https://github.com/discourse/discourse.git
synced 2025-06-13 01:46:29 +08:00
Update app/assets/javascripts/discourse/tests/setup-tests.js
Co-authored-by: Jarek Radosz <jradosz@gmail.com>
This commit is contained in:
@ -347,7 +347,7 @@ function setupTestsCommon(application, container, config) {
|
|||||||
e.remove()
|
e.remove()
|
||||||
);
|
);
|
||||||
document.body.removeAttribute("class");
|
document.body.removeAttribute("class");
|
||||||
let html = document.getElementsByTagName("html")[0];
|
let html = document.documentElement;
|
||||||
html.removeAttribute("class");
|
html.removeAttribute("class");
|
||||||
html.removeAttribute("style");
|
html.removeAttribute("style");
|
||||||
let testing = document.getElementById("ember-testing");
|
let testing = document.getElementById("ember-testing");
|
||||||
|
Reference in New Issue
Block a user