UNPKG

passport-appleid

Version:

Apple authentication strategy for Passport.

18 lines (12 loc) 431 B
/* global describe, it */ const strategy = require('..'); const expect = require('chai').expect; describe('passport-apple', 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); }); });