Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsotimus committed Feb 12, 2024
1 parent ae7d193 commit 34fdde9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/main.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ test("posthog initialization", async ({ page }) => {
const res = await page.waitForResponse(reg);
const data = await res.json();

expect(data.featureFlags).toEqual({ "welcome-msg": true });
expect(data.analytics).toEqual({
endpoint: "/i/v0/e/",
});
expect(isPostHogInit).toBe(true);
});

Expand Down

0 comments on commit 34fdde9

Please sign in to comment.