Skip to content

Commit 8e121c4

Browse files
committed
change order
1 parent 38f2efb commit 8e121c4

File tree

1 file changed

+1
-2
lines changed
  • dev-packages/browser-integration-tests/suites/profiling/legacyMode

1 file changed

+1
-2
lines changed

dev-packages/browser-integration-tests/suites/profiling/legacyMode/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,9 @@ sentryTest('sends profile envelope in legacy mode', async ({ page, getLocalTestU
2222

2323
const req = await waitForTransactionRequestOnUrl(page, url);
2424
const profileEvent = properEnvelopeRequestParser<Profile>(req, 1);
25+
expect(profileEvent).toBeDefined();
2526

2627
const profile = profileEvent.profile;
27-
28-
expect(profileEvent).toBeDefined();
2928
expect(profileEvent.profile).toBeDefined();
3029

3130
expect(profile.samples).toBeDefined();

0 commit comments

Comments
 (0)