passport-mitopenid
Version:
Passport Strategy with the AuthorizationCode grant type of the OAuth 2.0 protocol.
15 lines (11 loc) • 420 B
JavaScript
/* global describe, it, expect */
const strategy = require('..');
describe('passport-mitopenid', function() {
it('should export Strategy constructor', function() {
expect(strategy.MITStrategy).to.be.a('function');
});
it('should export Strategy constructor as module', function() {
expect(strategy).to.be.a('function');
expect(strategy).to.equal(strategy.MITStrategy);
});
});