mirror of
https://github.com/expo/node-auth0.git
synced 2026-11-14 19:11:00 -10:00
11 lines
187 B
JavaScript
11 lines
187 B
JavaScript
var expect = require('chai').expect;
|
|
|
|
|
|
module.exports = function (obj, name) {
|
|
return function () {
|
|
expect(obj[name])
|
|
.to.exist
|
|
.to.be.an.instanceOf(Function);
|
|
};
|
|
};
|