{"id":20594825,"url":"https://github.com/ansman/jasmine-promise","last_synced_at":"2025-07-31T13:16:35.347Z","repository":{"id":12873550,"uuid":"15549943","full_name":"ansman/jasmine-promise","owner":"ansman","description":"Support for promises in Jasmine","archived":false,"fork":false,"pushed_at":"2015-02-06T07:23:14.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T14:53:03.739Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ansman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-12-31T12:58:37.000Z","updated_at":"2015-02-06T07:23:14.000Z","dependencies_parsed_at":"2022-08-26T07:00:59.741Z","dependency_job_id":null,"html_url":"https://github.com/ansman/jasmine-promise","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ansman/jasmine-promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fjasmine-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fjasmine-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fjasmine-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fjasmine-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ansman","download_url":"https://codeload.github.com/ansman/jasmine-promise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ansman%2Fjasmine-promise/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259890426,"owners_count":22927370,"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-11-16T08:10:19.736Z","updated_at":"2025-06-14T22:02:50.785Z","avatar_url":"https://github.com/ansman.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Jasmine promise\n===\nAdds supports for returning promises in specs.\n\nUsage\n---\nSimply include the `jasmine-promise.js` file before your specs and then you can\nuse it in your tests:\n```javascript\ndecribe(\"My module\", function() {\n  it.promise(\"does awesome things\", function() {\n    return new Promise(function(resolve, reject) {\n      expect(something).toBe(somethingElse);\n\n      if (someCondition)\n        resolve();\n      else\n        reject(\"Some error\");\n    });\n  });\n});\n```\n\nFor more examples see [`jasmine-promise-spec.js`](https://github.com/ansman/jasmine-promise/tree/master/specs/jasmine-promise-spec.js).\n\nSupported versions\n---\nAll versions of Jasmine should be supported.\n\n1.3.1 and 2.0 have both been tested.\n\nLicense\n---\njasmine-promise is licensed under the [MIT license](https://github.com/ansman/jasmine-promise/tree/master/LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansman%2Fjasmine-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fansman%2Fjasmine-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fansman%2Fjasmine-promise/lists"}