account event mocks
This commit is contained in:
parent
a4b49c3633
commit
5b8ea1cdbe
|
@ -1,3 +1,4 @@
|
|||
const account = require("./account")
|
||||
const app = require("./app")
|
||||
const auth = require("./auth")
|
||||
const automation = require("./automation")
|
||||
|
@ -14,6 +15,7 @@ const user = require("./user")
|
|||
const view = require("./view")
|
||||
|
||||
module.exports = {
|
||||
account,
|
||||
app,
|
||||
auth,
|
||||
automation,
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
jest.mock("../../../events", () => {
|
||||
return {
|
||||
account: {
|
||||
created: jest.fn(),
|
||||
deleted: jest.fn(),
|
||||
verified: jest.fn(),
|
||||
},
|
||||
app: {
|
||||
created: jest.fn(),
|
||||
updated: jest.fn(),
|
||||
|
|
Loading…
Reference in New Issue