Skip to content

Clear the mock's registered emails on Reset demo - #13

Merged
TuvalZit18 merged 1 commit into
mainfrom
fix/reset-demo-mock
Oct 17, 2026
Merged

TuvalZit18 merged 1 commit into
mainfrom
fix/reset-demo-mock

Conversation

@TuvalZit18

Copy link
Copy Markdown
Owner

Reset demo cleared the session and attribution but not the mock backend's in-memory email list, so registering again with the same email without a reload returned 409.

Reset demo now fires a realplay:demo-reset window event; the mock listens and clears its list. App code still never imports the mock. Add a test that registers, resets and registers the same email again.

Reset demo cleared the session and attribution but not the mock
backend's in-memory email list, so registering again with the same
email without a reload returned 409.

Reset demo now fires a realplay:demo-reset window event; the mock
listens and clears its list. App code still never imports the mock.
Add a test that registers, resets and registers the same email again.
@TuvalZit18
TuvalZit18 merged commit c7b5116 into main Oct 17, 2026
1 check passed
@TuvalZit18
TuvalZit18 deleted the fix/reset-demo-mock branch October 17, 2026 19:21
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.

1 participant