Skip to content

Commit b5d793b

Browse files
try that
1 parent b51e67c commit b5d793b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/karma/test-app/scoped-slot-text-with-sibling/karma.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('scoped-slot-text-with-sibling', () => {
5757
*/
5858
expect(label).toBeDefined();
5959
expect(label.childNodes.length).toBe(3);
60-
expect(label.childNodes[0]['s-cr'] as string).toBeDefined();
60+
expect((label.childNodes[0] as any)['s-cr'] as string).toBeDefined();
6161
expect(label.childNodes[1].textContent).toBe('New text for label structure testing');
6262
expect(label.childNodes[2].textContent).toBe('Non-slotted text');
6363
});

test/karma/test-app/scoped-slot-text/karma.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('scoped-slot-text', () => {
4747
*/
4848
expect(label).toBeDefined();
4949
expect(label.childNodes.length).toBe(2);
50-
expect(label.childNodes[0]['s-cr'] as string).toBeDefined();
50+
expect((label.childNodes[0] as any)['s-cr'] as string).toBeDefined();
5151
expect(label.childNodes[1].textContent).toBe('New text for label structure testing');
5252
});
5353
});

0 commit comments

Comments
 (0)