Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marchbox committed Oct 14, 2024
1 parent 63c1bcb commit b4915fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/fetch.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@ describe('fetch styles manually', () => {
});

it('fetches styles only from the given elements', async () => {
fetchMock.getOnce('end:target5.css', target5Css);
fetchMock.getOnce('end:target6.css', target6Css);
fetchMock.getOnce('end:target5.css', requestWithCSSType(target5Css));
fetchMock.getOnce('end:target6.css', requestWithCSSType(target6Css));

const el1 = document.getElementById('el1')!;
const el2 = document.getElementById('el2')!;
Expand Down

0 comments on commit b4915fa

Please sign in to comment.