/* global describe, it */ var sinon = require('sinon'); var pkg = require('..'); describe('passport-ethereum', function() { it('should export Strategy constructor as module', function() { expect(pkg).to.be.a('function'); expect(pkg).to.equal(pkg.Strategy); }); it('should export Strategy constructor', function() { expect(pkg.Strategy).to.be.a('function'); }); }); afterEach(function() { sinon.restore(); });