chai-oauth2orize-grant

0.3.0 • Public • Published

chai-oauth2orize-grant

Build Coverage Quality Dependencies

Helpers for testing OAuth2orize grants with the Chai assertion library.

Install

$ npm install chai-oauth2orize-grant

Usage

Use Plugin

Use this plugin as you would all other Chai plugins:

var chai = require('chai');
 
chai.use(require('chai-oauth2orize-grant'));

Implement Test Cases

Once used, the chai.oauth2orize.grant helper function will be available to set up test cases for OAuth2orize grants.

Contributing

Tests

The test suite is located in the test/ directory. All new features are expected to have corresponding test cases. Ensure that the complete test suite passes by executing:

$ make test

Coverage

All new feature development is expected to have test coverage. Patches that increse test coverage are happily accepted. Coverage reports can be viewed by executing:

$ make test-cov
$ make view-cov

Support

Funding

This software is provided to you as open source, free of charge. The time and effort to develop and maintain this project is volunteered by @jaredhanson. If you (or your employer) benefit from this project, please consider a financial contribution. Your contribution helps continue the efforts that produce this and other open source software.

Funds are accepted via PayPal, Venmo, and other methods. Any amount is appreciated.

License

The MIT License

Copyright (c) 2013-2017 Jared Hanson <http://jaredhanson.net/>

Package Sidebar

Install

npm i chai-oauth2orize-grant

Weekly Downloads

12

Version

0.3.0

License

MIT

Last publish

Collaborators

  • jaredhanson