From 8c33a388aec2b8a108adebba9420fe534e98c0be Mon Sep 17 00:00:00 2001 From: NullVoxPopuli <199018+NullVoxPopuli@users.noreply.github.com> Date: Thu, 22 Aug 2024 09:03:04 -0400 Subject: [PATCH] Be sure to extend the class when using setComponentTemplate --- test-app/tests/integration/setup-rendering-context-test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-app/tests/integration/setup-rendering-context-test.js b/test-app/tests/integration/setup-rendering-context-test.js index a957fb079..3ec469364 100644 --- a/test-app/tests/integration/setup-rendering-context-test.js +++ b/test-app/tests/integration/setup-rendering-context-test.js @@ -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 {}, ), });