0.2.0 • Published 10 years ago

github-fixtures v0.2.0

Weekly downloads
-
License
Apache2
Repository
github
Last release
10 years ago

Github Fixtures

Github fixtures for shepherd tests.

Fixtures

All fixtures are based on the github api docs

  • Commit
  • PullRequest
  • PullRequestRef
  • Repo
  • User
  • Link
var Repo = require('github-fixtures/repo');
    User = require('github-fixtures/user');
    PullRequest = require('github-fixtures/pull_request'),
    Commit = require('github-fixtures/commit');


Repo.create({
  // deep merge happens in all the object operations
  owner: { login: 'woot!' },
})

See object factory for usage of factories.

Viewing contents of fixture

  1. Clone the repo
  2. npm install
  3. ./node_modules/.bin/object-factory-viewer repo.js (replace repo.js with whatever you want to see)
0.2.0

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.1

10 years ago