From 58e507ff1f59ce317154039b8bf041bb217001bc Mon Sep 17 00:00:00 2001 From: Alice Pote Date: Wed, 17 May 2023 13:53:04 -0400 Subject: [PATCH] try that --- test/karma/test-app/scoped-slot-text/karma.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/karma/test-app/scoped-slot-text/karma.spec.ts b/test/karma/test-app/scoped-slot-text/karma.spec.ts index 58e9b74168bd..9ecd6e6c7c86 100644 --- a/test/karma/test-app/scoped-slot-text/karma.spec.ts +++ b/test/karma/test-app/scoped-slot-text/karma.spec.ts @@ -47,7 +47,7 @@ describe('scoped-slot-text', () => { */ expect(label).toBeDefined(); expect(label.childNodes.length).toBe(2); - expect(label.childNodes[0]['s-cr'] as string).toBeDefined(); + expect((label.childNodes[0] as any)['s-cr'] as string).toBeDefined(); expect(label.childNodes[1].textContent).toBe('New text for label structure testing'); }); });