We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63c1bcb commit b4915faCopy full SHA for b4915fa
tests/unit/fetch.test.ts
@@ -175,8 +175,8 @@ describe('fetch styles manually', () => {
175
});
176
177
it('fetches styles only from the given elements', async () => {
178
- fetchMock.getOnce('end:target5.css', target5Css);
179
- fetchMock.getOnce('end:target6.css', target6Css);
+ fetchMock.getOnce('end:target5.css', requestWithCSSType(target5Css));
+ fetchMock.getOnce('end:target6.css', requestWithCSSType(target6Css));
180
181
const el1 = document.getElementById('el1')!;
182
const el2 = document.getElementById('el2')!;
0 commit comments