12 lines
297 B
JavaScript
12 lines
297 B
JavaScript
var MockClient = function() {
|
|
this.on = jest.fn();
|
|
this.initialize = jest.fn().mockResolvedValue(undefined);
|
|
this.getChats = jest.fn().mockResolvedValue([]);
|
|
this.destroy = jest.fn().mockResolvedValue(undefined);
|
|
};
|
|
|
|
module.exports = {
|
|
Client: MockClient,
|
|
LocalAuth: function() {},
|
|
};
|