{"id":17347203,"url":"https://github.com/ianmitchell/jest-proof","last_synced_at":"2025-10-03T20:44:15.466Z","repository":{"id":151483122,"uuid":"83365353","full_name":"IanMitchell/jest-proof","owner":"IanMitchell","description":null,"archived":false,"fork":false,"pushed_at":"2017-02-27T22:54:49.000Z","size":2,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-01T15:45:00.567Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/IanMitchell.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-02-27T22:52:26.000Z","updated_at":"2017-02-27T22:52:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2ce6a1d-8c90-4771-b690-c56f2ab995aa","html_url":"https://github.com/IanMitchell/jest-proof","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/IanMitchell%2Fjest-proof","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IanMitchell%2Fjest-proof/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IanMitchell%2Fjest-proof/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IanMitchell%2Fjest-proof/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IanMitchell","download_url":"https://codeload.github.com/IanMitchell/jest-proof/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245832746,"owners_count":20679702,"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":[],"created_at":"2024-10-15T16:47:56.429Z","updated_at":"2025-10-03T20:44:15.409Z","avatar_url":"https://github.com/IanMitchell.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bad file names, but essentially this is the structure:\n\n* Base class (person.js) which has methods / variables intended to be static.\n* Closure (static-person.js) which is intended to create a singleton to persist Base class variables.\n* Consumers (actor.js) that have a dependency on the Closure\n\nWhen testing Consumer, if you mock out a method you get from the closure, it doesn't reset between tests. How can you discard the mock?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianmitchell%2Fjest-proof","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianmitchell%2Fjest-proof","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianmitchell%2Fjest-proof/lists"}