passport-oschina
Version:
OSChina authentication strategy for Passport.
16 lines (11 loc) • 411 B
JavaScript
/* global describe, it, expect */
var strategy = require('..');
describe('passport-oschina', function() {
it('should export Strategy constructor directly from package', function() {
expect(strategy).to.be.a('function');
expect(strategy).to.equal(strategy.Strategy);
});
it('should export Strategy constructor', function() {
expect(strategy.Strategy).to.be.a('function');
});
});