UNPKG

@boris-turner/amphora-search

Version:

Making it easier to use Elastic Search with Amphora

17 lines (12 loc) 276 B
'use strict'; const _ = require('lodash'); function createReq() { return { isAuthenticated: jest.fn() }; } function createReqWithBody(body) { return _.assign(createReq(), body); } module.exports = createReq; module.exports.createReqWithBody = createReqWithBody;