Helpers for testing OAuth2orize grants with the Chai assertion library.
$ npm install chai-oauth2orize-grant
Use this plugin as you would all other Chai plugins:
var chai = require('chai');
chai.use(require('chai-oauth2orize-grant'));
Once used, the chai.oauth2orize.grant
helper function will be available to set
up test cases for OAuth2orize grants.
Copyright (c) 2013-2017 Jared Hanson <http://jaredhanson.net/>