Skip to content

Commit b51e67c

Browse files
possibly fix type errors in karma tests?
1 parent f878aab commit b51e67c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/karma/test-app/reflect-single-render/karma.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { setupDomTests, waitForChanges } from '../util';
1+
import { setupDomTests } from '../util';
22

33
describe('reflect-single-render', () => {
44
const { setupDom, tearDownDom } = setupDomTests(document);

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']).toBeDefined();
60+
expect(label.childNodes[0]['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']).toBeDefined();
50+
expect(label.childNodes[0]['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)