Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mkszepp authored Aug 27, 2024
1 parent 9a32335 commit 0f569c5
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,17 @@ module('Integration | Component | basic-dropdown-wormhole', function (hooks) {
await render(hbs`<BasicDropdownWormhole />`);

assert
.dom('#custom-wormhole-destination', this.element.getRootNode())
.dom(
'.ember-application #custom-wormhole-destination',
this.element.getRootNode(),
)
.exists('custom destination is used');

assert
.dom('#ember-basic-dropdown-wormhole', this.element.getRootNode())
.dom(
'.ember-application #ember-basic-dropdown-wormhole',
this.element.getRootNode(),
)
.doesNotExist('default destination is not used');
});

Expand Down

0 comments on commit 0f569c5

Please sign in to comment.