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

Add create method to FakeFirestore.DocumentReference #181

Merged
merged 3 commits into from
Jan 4, 2024

Conversation

jefshe
Copy link
Contributor

@jefshe jefshe commented Nov 8, 2023

Description

Adds a create mock to FakeFirestore.DocumentReference as per the API https://googleapis.dev/nodejs/firestore/latest/DocumentReference.html#create

I also got npm package resolution errors which I was able to fix by upgrading prettier and the eslint-config

How to test

I've added a basic unit test to check functionality

@sbatson5
Copy link
Owner

sbatson5 commented Jan 3, 2024

Thanks for adding this! Sorry it has taken me so long to review. Would you mind fixing the most recent conflicts after the TypeScript PR?

@jefshe
Copy link
Contributor Author

jefshe commented Jan 4, 2024

Thanks @sbatson5 for getting to this. Have tried to update from master again so it should be mergeable now

@sbatson5 sbatson5 merged commit ae4d073 into sbatson5:master Jan 4, 2024
4 checks passed
@sbatson5
Copy link
Owner

sbatson5 commented Jan 4, 2024

Merged and published 🎉

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