Skip to content

Commit 887f973

Browse files
committed
simplify tests
1 parent 8b88934 commit 887f973

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

apps/nextjs/tests/analytics-config.spec.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,6 @@ test.describe('Analytics configuration', () => {
7070
`);
7171

7272
await page.waitForFunction(() => window._dubAnalytics !== undefined);
73-
const analytics = await page.evaluate(() => window._dubAnalytics);
74-
expect(analytics.m).toBe('first-click');
7573

7674
// First click
7775
await page.goto('/?dub_id=first-click-id');
@@ -109,9 +107,6 @@ test.describe('Analytics configuration', () => {
109107

110108
await page.waitForFunction(() => window._dubAnalytics !== undefined);
111109

112-
const analytics = await page.evaluate(() => window._dubAnalytics);
113-
expect(analytics.m).toBe('last-click');
114-
115110
// First click
116111
await page.goto('/?dub_id=first-click-id');
117112

0 commit comments

Comments
 (0)