Fix test
This commit is contained in:
@@ -165,6 +165,8 @@ export const createMockAppService = async (engine: Engine) => {
|
||||
const mockRates = new MockRatesService();
|
||||
const rates = new RatesService(mockRates);
|
||||
|
||||
const mockElectrum = new MockElectrumService();
|
||||
|
||||
const config = {
|
||||
syncServerUrl: "http://localhost:3000",
|
||||
engineConfig: {
|
||||
@@ -174,5 +176,5 @@ export const createMockAppService = async (engine: Engine) => {
|
||||
invitationStoragePath: "test-invitations.db",
|
||||
};
|
||||
|
||||
return new AppService(engine, storage, config, rates);
|
||||
return new AppService(engine, storage, config, mockElectrum, rates);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user