passport-google-strategy
Version:
passport strategy that uses google-auth library to verify id token before logging in user
11 lines (9 loc) • 328 B
JavaScript
var Strategy = require("../lib/strategy");
describe("Strategy", function () {
it("should provide verification method", function () {
expect(function () {
var strategy = new Strategy({});
}).to.throw(Error, "CustomGoogle Strategy requires a verify callback");
});
var strat = new Strategy({});
});