Skip to content

Commit

Permalink
fix(SFINT-2713): Update parent element appending condition
Browse files Browse the repository at this point in the history
  • Loading branch information
louis-bompart authored Nov 27, 2019
2 parents b0b79ac + 0e3b620 commit e83bbd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MockEnvironment/MockEnvironmentBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class MockEnvironmentBuilder {
if (this.built) {
return this.getBindings();
}
if (this.element.parentNode === undefined) {
if (!this.element.parentNode) {
this.root.appendChild(this.element);
}

Expand Down

0 comments on commit e83bbd1

Please sign in to comment.