feat: Add slashcommand api
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
import {
|
||||
Injector,
|
||||
runInInjectionContext
|
||||
} from '@angular/core';
|
||||
import { Injector, runInInjectionContext } from '@angular/core';
|
||||
import {
|
||||
beforeEach,
|
||||
describe,
|
||||
@@ -35,10 +32,12 @@ describe('DatabaseService', () => {
|
||||
getBansForRoom: vi.fn(() => Promise.resolve([])),
|
||||
initialize: vi.fn(() => Promise.resolve())
|
||||
};
|
||||
|
||||
capacitorDatabase = {
|
||||
getBansForRoom: vi.fn(() => Promise.resolve([])),
|
||||
initialize: vi.fn(() => Promise.resolve())
|
||||
};
|
||||
|
||||
electronDatabase = {
|
||||
getBansForRoom: vi.fn(() => Promise.resolve([])),
|
||||
initialize: vi.fn(() => Promise.resolve())
|
||||
|
||||
Reference in New Issue
Block a user