Formatting.
This commit is contained in:
parent
96f036b720
commit
44db8cf9ec
|
@ -1,7 +1,9 @@
|
|||
const CouchDB = require("../db")
|
||||
const emitter = require("../events/index")
|
||||
const env = require("../environment")
|
||||
const Queue = env.isTest() ? require("../utilities/queue/inMemoryQueue") : require("bull")
|
||||
const Queue = env.isTest()
|
||||
? require("../utilities/queue/inMemoryQueue")
|
||||
: require("bull")
|
||||
const { setQueues, BullAdapter } = require("bull-board")
|
||||
const { getAutomationParams } = require("../db/utils")
|
||||
const { coerce } = require("../utilities/rowProcessor")
|
||||
|
|
|
@ -2,4 +2,4 @@ const env = require("../src/environment")
|
|||
|
||||
env._set("NODE_ENV", "jest")
|
||||
env._set("JWT_SECRET", "test-jwtsecret")
|
||||
env._set("LOG_LEVEL", "silent")
|
||||
env._set("LOG_LEVEL", "silent")
|
||||
|
|
|
@ -35,7 +35,7 @@ exports.emailMock = () => {
|
|||
const nodemailer = require("nodemailer")
|
||||
nodemailer.createTransport.mockReturnValue({
|
||||
sendMail: sendMailMock,
|
||||
verify: jest.fn()
|
||||
verify: jest.fn(),
|
||||
})
|
||||
return sendMailMock
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue