Releases: octokit/fixtures
Releases · octokit/fixtures
v1.2.1
v1.2.0
v1.1.1
v1.1.0
v1.0.0
1.0.0 (2017-09-05)
Features
- A scenario is an object (or array of objects) to describe requests
{ method: 'get', url: 'https://api.github.com/repos/octocat/hello-world', headers: { Accept: 'application/vnd.github.v3+json' } }
- For more complex scenarios, asynchronous functions can be used
- Provides a standalone mock server utilising existing fixtures that all Octokit library developers can use to test against
- Checks ones per day if GitHub’s APIs have changed (using a Travis cron job). If there are changes, automatically creates (or updates) a pull request that looks like this: gr2m-fixtures-cat/sandbox#18