Skip to content

Commit fafca1f

Browse files
committed
Test weirdness
1 parent b59802b commit fafca1f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shared/utility/solid/suspense-for.test.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ describe('SuspenseFor', () => {
119119
));
120120

121121
await vi.waitFor(() => {
122-
expect(container.innerText).toContain('Custom Fallback');
122+
expect(container.textContent).toContain('Custom Fallback');
123123
});
124124

125125
deferred.resolve();
126126
await vi.waitFor(() => {
127127
expect(container.textContent).toContain('Item');
128128
});
129-
expect(container.innerText).not.toContain('Custom Fallback');
129+
expect(container.textContent).not.toContain('Custom Fallback');
130130
});
131131

132132
it('should handle fallback correctly', async () => {

0 commit comments

Comments
 (0)