Skip to content

Commit

Permalink
Be sure to extend the class when using setComponentTemplate
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Aug 22, 2024
1 parent f88ba07 commit 8c33a38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-app/tests/integration/setup-rendering-context-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@ module('setupRenderingContext "real world"', function (hooks) {
hooks.beforeEach(async function () {
setResolverRegistry({
'component:promise-wrapper': setComponentTemplate(
PromiseWrapper,
PromiseWrapperTemplate
class extends PromiseWrapper {},
),

'component:click-me-button': setComponentTemplate(
ClickMeButtonComponent,
ClickMeButtonTemplate
class extends ClickMeButtonComponent {},
),
});

Expand Down

0 comments on commit 8c33a38

Please sign in to comment.