Simplify document teardown

parent 7a33cdee
......@@ -99,7 +99,7 @@ describe('SignInArkoseApp', () => {
afterEach(() => {
axiosMock.restore();
wrapper?.destroy();
document.getElementsByTagName('html')[0].innerHTML = '';
document.body.innerHTML = '';
});
describe('when the username field is pre-filled', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment