Skip to content

Commit

Permalink
Hola
Browse files Browse the repository at this point in the history
  • Loading branch information
ardatan committed Dec 7, 2022
1 parent 4037c85 commit d6155b2
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions packages/loaders/url/tests/url-loader-browser.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,13 +259,11 @@ describe('[url-loader] webpack bundle compat', () => {
document as any
);

expect(results).toEqual([
{ data: { countdown: [] } },
{ data: { countdown: [3] } },
{ data: { countdown: [3, 2] } },
{ data: { countdown: [3, 2, 1] } },
{ data: { countdown: [3, 2, 1, 0] } },
]);
expect(results[0]).toEqual({ data: { countdown: [] } });
expect(results[1]).toEqual({ data: { countdown: [3] } });
expect(results[2]).toEqual({ data: { countdown: [3, 2] } });
expect(results[3]).toEqual({ data: { countdown: [3, 2, 1] } });
expect(results[4]).toEqual({ data: { countdown: [3, 2, 1, 0] } });
});

it('handles SSE subscription operations', async () => {
Expand Down

0 comments on commit d6155b2

Please sign in to comment.