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