Skip to content

Runnable/github-webhook-fixtures

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-webhook-fixtures

A set of testing fixtures for the GitHub Webhooks API v3

Overview

This library provides a set of fixtures that can be used for testing your GitHub webhooks API enabled applications. The provided fixtures give example headers and body objects provided by the webhooks API.

Usage

var webhooks = require('github-webhook-fixtures');
var pushHeaders = webhooks.push.headers;
var pushBody = webhooks.push.body;

Supported Webhooks

Fixtures for the following Webhooks are provided:

  • commit_comment
  • create
  • delete
  • deployment
  • deployment_status
  • fork
  • gollum
  • issue_comment
  • issues
  • member
  • membership
  • page_build
  • public
  • pull_request
  • pull_request_review_comment
  • push
  • release
  • repository
  • status
  • team_add
  • watch

For more information about GitHub webhooks please see the the official GitHub Webhooks API Documentation.

License

MIT

About

A set of testing fixtures for the GitHub Webhooks API v3

Resources

License

Stars

Watchers

Forks

Packages

No packages published