Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add test for reset() and anonymous users #1444

Merged
merged 1 commit into from
Sep 30, 2024

Conversation

robbie-c
Copy link
Member

@robbie-c robbie-c commented Sep 30, 2024

Changes

Adds a test for this case, people here were asking about this behaviour and I wasn't 100% sure so added this, might as well check it in

Checklist

  • Tests for new code (see advice on the tests we use)
  • Accounted for the impact of any changes across different browsers
  • Accounted for backwards compatibility of any changes (no breaking changes in posthog-js!)

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
posthog-js ✅ Ready (Inspect) Visit Preview Sep 30, 2024 0:57am

Copy link

Size Change: 0 B

Total Size: 2.8 MB

ℹ️ View Unchanged
Filename Size
dist/all-external-dependencies.js 191 kB
dist/array.full.js 351 kB
dist/array.full.no-external.js 350 kB
dist/array.js 167 kB
dist/array.no-external.js 165 kB
dist/exception-autocapture.js 10.5 kB
dist/external-scripts-loader.js 2.35 kB
dist/main.js 167 kB
dist/module.full.js 351 kB
dist/module.full.no-external.js 350 kB
dist/module.js 167 kB
dist/module.no-external.js 166 kB
dist/recorder-v2.js 111 kB
dist/recorder.js 111 kB
dist/surveys-preview.js 59.8 kB
dist/surveys.js 66 kB
dist/tracing-headers.js 8.36 kB
dist/web-vitals.js 10.3 kB

compressed-size-action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants