{"id":16254447,"url":"https://github.com/mantoni/mocha-referee-sinon","last_synced_at":"2026-01-12T06:42:02.199Z","repository":{"id":34186626,"uuid":"171263322","full_name":"mantoni/mocha-referee-sinon","owner":"mantoni","description":"Common Mocha setup for @sinonjs/referee-sinon","archived":false,"fork":false,"pushed_at":"2023-04-30T11:43:10.000Z","size":116,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T18:12:42.047Z","etag":null,"topics":["mocha","referee","sinon","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mantoni.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":"LICENSE","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":"2019-02-18T10:28:39.000Z","updated_at":"2022-02-12T17:26:55.000Z","dependencies_parsed_at":"2024-10-27T21:46:07.863Z","dependency_job_id":null,"html_url":"https://github.com/mantoni/mocha-referee-sinon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantoni%2Fmocha-referee-sinon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantoni%2Fmocha-referee-sinon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantoni%2Fmocha-referee-sinon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mantoni%2Fmocha-referee-sinon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mantoni","download_url":"https://codeload.github.com/mantoni/mocha-referee-sinon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246819784,"owners_count":20839096,"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":["mocha","referee","sinon","testing"],"created_at":"2024-10-10T15:22:12.384Z","updated_at":"2026-01-12T06:42:02.193Z","avatar_url":"https://github.com/mantoni.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mocha-referee-sinon\n\n[![Build Status]](https://travis-ci.org/mantoni/mocha-referee-sinon)\n[![SemVer]](http://semver.org)\n[![License]](https://github.com/mantoni/mocha-referee-sinon/blob/master/LICENSE)\n\nCommon initialization file for [Mocha][] when used with\n[@sinonjs/referee-sinon][].\n\n## What it does\n\nInstalls global `beforeEach` and `afterEach` hooks for Mocha to verify that\n\n- each test has at least one referee assertion\n- the global Sinon sandbox is restored with `sinon.restore()`\n\n## Install\n\nInstall in `devDependencies`:\n\n```bash\n❯ npm install -D mocha-referee-sinon\n```\n\n## Usage\n\n```bash\n❯ mocha --file ./node_modules/mocha-referee-sinon\n```\n\n## Compatibility\n\n- `1.0.0`: Mocha 5.2, `@sinonjs/referee-sinon` 5.0\n\n## License\n\nMIT\n\n[Build Status]: https://img.shields.io/travis/mantoni/mocha-referee-sinon/master.svg\n[SemVer]: https://img.shields.io/:semver-%E2%9C%93-brightgreen.svg\n[License]: https://img.shields.io/npm/l/mocha-referee-sinon.svg\n[Mocha]: https://mochajs.org\n[@sinonjs/referee-sinon]: https://sinonjs.github.io/referee-sinon/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmantoni%2Fmocha-referee-sinon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmantoni%2Fmocha-referee-sinon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmantoni%2Fmocha-referee-sinon/lists"}