Skip to content

Commit

Permalink
possibly fix type errors in karma tests?
Browse files Browse the repository at this point in the history
  • Loading branch information
alicewriteswrongs committed May 17, 2023
1 parent f878aab commit b51e67c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test/karma/test-app/reflect-single-render/karma.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { setupDomTests, waitForChanges } from '../util';
import { setupDomTests } from '../util';

describe('reflect-single-render', () => {
const { setupDom, tearDownDom } = setupDomTests(document);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ describe('scoped-slot-text-with-sibling', () => {
*/
expect(label).toBeDefined();
expect(label.childNodes.length).toBe(3);
expect(label.childNodes[0]['s-cr']).toBeDefined();
expect(label.childNodes[0]['s-cr'] as string).toBeDefined();
expect(label.childNodes[1].textContent).toBe('New text for label structure testing');
expect(label.childNodes[2].textContent).toBe('Non-slotted text');
});
Expand Down
2 changes: 1 addition & 1 deletion test/karma/test-app/scoped-slot-text/karma.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe('scoped-slot-text', () => {
*/
expect(label).toBeDefined();
expect(label.childNodes.length).toBe(2);
expect(label.childNodes[0]['s-cr']).toBeDefined();
expect(label.childNodes[0]['s-cr'] as string).toBeDefined();
expect(label.childNodes[1].textContent).toBe('New text for label structure testing');
});
});

0 comments on commit b51e67c

Please sign in to comment.