Skip to content

Commit 1e8fc5d

Browse files
committed
biome once again :(
1 parent ab36435 commit 1e8fc5d

File tree

2 files changed

+16
-12
lines changed

2 files changed

+16
-12
lines changed

dev-packages/e2e-tests/test-applications/sveltekit-2/test/performance.server.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ test('server pageload request span has nested request span for sub request', asy
2626

2727
expect(spans).toHaveLength(2);
2828

29-
expect(spans).toEqual(expect.arrayContaining([
30-
// load span where the server load function initiates the sub request:
31-
expect.objectContaining({ op: 'function.sveltekit.server.load', description: '/server-load-fetch' }),
32-
// sub request span:
33-
expect.objectContaining({ op: 'http.server', description: 'GET /api/users' }),
34-
]))
29+
expect(spans).toEqual(
30+
expect.arrayContaining([
31+
// load span where the server load function initiates the sub request:
32+
expect.objectContaining({ op: 'function.sveltekit.server.load', description: '/server-load-fetch' }),
33+
// sub request span:
34+
expect.objectContaining({ op: 'http.server', description: 'GET /api/users' }),
35+
]),
36+
);
3537
});

dev-packages/e2e-tests/test-applications/sveltekit/test/performance.server.test.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,12 @@ test('server pageload request span has nested request span for sub request', asy
2626

2727
expect(spans).toHaveLength(2);
2828

29-
expect(spans).toEqual(expect.arrayContaining([
30-
// load span where the server load function initiates the sub request:
31-
expect.objectContaining({ op: 'function.sveltekit.server.load', description: '/server-load-fetch' }),
32-
// sub request span:
33-
expect.objectContaining({ op: 'http.server', description: 'GET /api/users' }),
34-
]))
29+
expect(spans).toEqual(
30+
expect.arrayContaining([
31+
// load span where the server load function initiates the sub request:
32+
expect.objectContaining({ op: 'function.sveltekit.server.load', description: '/server-load-fetch' }),
33+
// sub request span:
34+
expect.objectContaining({ op: 'http.server', description: 'GET /api/users' }),
35+
]),
36+
);
3537
});

0 commit comments

Comments
 (0)