Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lforst committed Feb 5, 2024
1 parent 99d1114 commit 7be6028
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -37,7 +37,7 @@ test('Creates a navigation transaction for app router routes', async ({ page })
);
});

const servercomponentTransactionPromise = waitForTransaction('nextjs-13-app-dir', async transactionEvent => {
const serverComponentTransactionPromise = waitForTransaction('nextjs-13-app-dir', async transactionEvent => {
return (
transactionEvent?.transaction === 'Page Server Component (/server-component/parameter/[...parameters])' &&
(await clientNavigationTransactionPromise).contexts?.trace?.trace_id ===
Expand All @@ -48,5 +48,5 @@ test('Creates a navigation transaction for app router routes', async ({ page })
await page.getByText('/server-component/parameter/foo/bar/baz').click();

expect(await clientNavigationTransactionPromise).toBeDefined();
expect(await servercomponentTransactionPromise).toBeDefined();
expect(await serverComponentTransactionPromise).toBeDefined();
});

0 comments on commit 7be6028

Please sign in to comment.