Skip to content

Commit

Permalink
fix(mock): add missed export body mock
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonVreling committed Mar 16, 2021
1 parent 85ead79 commit 7443442
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/scripts/mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,13 @@ exports.mockAll = (options = {}) => {
nock.cleanAll();
const omsCoreStub = exports.mockCore(options.core || {});
const omsMainPermissionsStub = exports.mockCoreMainPermissions(options.mainPermissions || {});
const omsCoreBodyStub = exports.mockCoreBody(options.body || {});
const omsMailerStub = exports.mockCoreMailer(options.mailer || {});

return {
omsCoreStub,
omsMainPermissionsStub,
omsCoreBodyStub,
omsMailerStub
};
};

0 comments on commit 7443442

Please sign in to comment.