mirror of
https://github.com/hanzoai/passport-google-oauth2.git
synced 2026-09-24 17:01:35 +00:00
17 lines
408 B
JavaScript
17 lines
408 B
JavaScript
/* global describe, it, expect */
|
|
|
|
var strategy = require('..');
|
|
|
|
describe('passport-google-oauth2', function() {
|
|
|
|
it('should export Strategy constructor', function() {
|
|
expect(strategy.Strategy).to.be.a('function');
|
|
});
|
|
|
|
it('should export Strategy constructor as module', function() {
|
|
expect(strategy).to.be.a('function');
|
|
expect(strategy).to.equal(strategy.Strategy);
|
|
});
|
|
|
|
});
|