{"id":20109023,"url":"https://github.com/danahartweg/testing-cloud-firestore","last_synced_at":"2025-05-06T10:31:09.455Z","repository":{"id":38798513,"uuid":"216127240","full_name":"danahartweg/testing-cloud-firestore","owner":"danahartweg","description":"Companion repository for the testing Cloud Firestore guide.","archived":false,"fork":false,"pushed_at":"2023-01-07T04:22:56.000Z","size":764,"stargazers_count":21,"open_issues_count":11,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-05T00:56:48.864Z","etag":null,"topics":["cloud-firestore","cloud-functions","testing-cloud-firestore"],"latest_commit_sha":null,"homepage":"https://medium.com/@danahartweg/testing-guide-for-cloud-firestore-functions-and-security-rules-39d9f3c92d99","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/danahartweg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-19T00:26:39.000Z","updated_at":"2022-01-03T17:18:37.000Z","dependencies_parsed_at":"2023-02-06T11:30:46.648Z","dependency_job_id":null,"html_url":"https://github.com/danahartweg/testing-cloud-firestore","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danahartweg%2Ftesting-cloud-firestore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danahartweg%2Ftesting-cloud-firestore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danahartweg%2Ftesting-cloud-firestore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danahartweg%2Ftesting-cloud-firestore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danahartweg","download_url":"https://codeload.github.com/danahartweg/testing-cloud-firestore/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252665898,"owners_count":21785165,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cloud-firestore","cloud-functions","testing-cloud-firestore"],"created_at":"2024-11-13T18:06:54.271Z","updated_at":"2025-05-06T10:31:09.028Z","avatar_url":"https://github.com/danahartweg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Testing Cloud Firestore\nWriting Cloud Firestore functions and security rules is relatively well documented and understood. Testing them, however, is not.\n\nThis repository was initially created as a companion to [this article](https://medium.com/@danahartweg/testing-guide-for-cloud-firestore-functions-and-security-rules-39d9f3c92d99) and has since [been updated](https://medium.com/geekculture/updated-cloud-firestore-testing-guide-ce146f2b312) with the latest Cloud Firestore has to offer.\n\n## Quick setup\n```bash\nyarn global add firebase-tools@9.16.0\n\ncd server\nyarn install\nyarn lint \u0026\u0026 yarn validate\n```\n\n## Running the tests\nThe `project-id` used to cause a bunch of headaches for testing, but no longer! Check out [this section](https://medium.com/geekculture/updated-cloud-firestore-testing-guide-ce146f2b312#c512) of the guide for more details.\n\n```bash\nyarn test\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanahartweg%2Ftesting-cloud-firestore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanahartweg%2Ftesting-cloud-firestore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanahartweg%2Ftesting-cloud-firestore/lists"}