Skip to content

user.delete() implementation #3072

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

Merged
merged 4 commits into from
May 19, 2020
Merged

user.delete() implementation #3072

merged 4 commits into from
May 19, 2020

Conversation

sam-gc
Copy link
Contributor

@sam-gc sam-gc commented May 15, 2020

No description provided.

@google-oss-bot
Copy link
Contributor

google-oss-bot commented May 15, 2020

Binary Size Report

Affected SDKs

No changes between base commit (b278cea) and head commit (542a5cd).

Test Logs

const user = new UserImpl({ uid: 'uid', auth, stsTokenManager });
expect(() => user.delete()).to.throw();
const endpoint = mockEndpoint(Endpoint.DELETE_ACCOUNT, {});
const signOut = sinon.stub(auth, 'signOut');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it possible to test side effects instead of mocking this out?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do this once #2963 merges

@avolkovi avolkovi assigned sam-gc and unassigned avolkovi May 18, 2020
@sam-gc sam-gc force-pushed the samgho/auth-delete branch from 86c1b2f to 2973aea Compare May 19, 2020 17:47
@sam-gc sam-gc merged commit 7b297c5 into auth-next May 19, 2020
@sam-gc sam-gc deleted the samgho/auth-delete branch May 19, 2020 17:58
@firebase firebase locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants