Skip to content

Commit

Permalink
Merge pull request #4111 from MrHBS:patch-1
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 525483084
  • Loading branch information
copybara-github committed Apr 19, 2023
2 parents 9e441d1 + 80330ea commit 5aa1083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class Environment {
private createNewRoot() {
const currentRoot = this.getCurrentRoot();
if (currentRoot) {
document.body.removeChild(currentRoot);
currentRoot.remove();
}

const root = document.createElement('div');
Expand Down

0 comments on commit 5aa1083

Please sign in to comment.