Skip to content
Snippets Groups Projects
Commit cb055272 authored by Sebastian Mihalache's avatar Sebastian Mihalache
Browse files

feat(component-manuscript-manager): fix tests

parent 3f48b796
No related branches found
No related tags found
1 merge request!10Sprint #12
......@@ -8,7 +8,7 @@ const cloneDeep = require('lodash/cloneDeep')
const requests = require('./../helpers/requests')
jest.mock('pubsweet-component-mail-service', () => ({
setupReviewSubmittedEmail: jest.fn(),
sendNotificationEmail: jest.fn(),
}))
const chance = new Chance()
const reqBody = {
......
......@@ -8,6 +8,9 @@ const cloneDeep = require('lodash/cloneDeep')
const requests = require('./../helpers/requests')
const chance = new Chance()
jest.mock('pubsweet-component-mail-service', () => ({
sendNotificationEmail: jest.fn(),
}))
const reqBody = {
recommendation: 'accept',
comments: [
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment