mirror of
https://github.com/pieartsy/PluralFlux.git
synced 2026-04-16 17:45:28 +10:00
updating tests
This commit is contained in:
@@ -56,6 +56,15 @@ jest.mock("../src/commands.js", () => {
|
||||
}
|
||||
})
|
||||
|
||||
jest.mock('../database/data-source.ts', () => {
|
||||
return {
|
||||
AppDataSource: {
|
||||
IsInitialized: false,
|
||||
initialize: jest.fn().mockResolvedValue()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
const {Client, Events} = require('@fluxerjs/core');
|
||||
const {messageHelper} = require("../src/helpers/messageHelper.js");
|
||||
|
||||
Reference in New Issue
Block a user