summaryrefslogtreecommitdiffhomepage
path: root/test/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks')
-rw-r--r--test/mocks/ipc.js10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js
index ede4bd37b7..fc035f55ed 100644
--- a/test/mocks/ipc.js
+++ b/test/mocks/ipc.js
@@ -24,6 +24,10 @@ export function newMockIpc() {
expiry: '',
}),
+ getRelayLocations: () => Promise.resolve({
+ countries: [],
+ }),
+
getAccount: () => Promise.resolve('1111'),
setAccount: () => Promise.resolve(),
@@ -42,9 +46,9 @@ export function newMockIpc() {
},
}),
- getRelayLocations: () => Promise.resolve({
- countries: [],
- }),
+ setAllowLan: (_allowLan: boolean) => Promise.resolve(),
+
+ getAllowLan: () => Promise.resolve(true),
connect: () => Promise.resolve(),