summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/components/Preferences.spec.js6
-rw-r--r--test/components/SelectLocation.spec.js1
-rw-r--r--test/components/Settings.spec.js1
3 files changed, 7 insertions, 1 deletions
diff --git a/test/components/Preferences.spec.js b/test/components/Preferences.spec.js
index 280b24ccd7..f8c38f9493 100644
--- a/test/components/Preferences.spec.js
+++ b/test/components/Preferences.spec.js
@@ -17,7 +17,11 @@ describe('components/Preferences', () => {
function makeProps(props) {
return {
onClose: () => {},
- onChangeAllowLan: () => {},
+ setAutoConnect: () => {},
+ setAutoStart: (_autoStart) => Promise.resolve(),
+ getAutoStart: () => false,
+ setAllowLan: () => {},
+ allowAutoConnect: false,
allowLan: false,
...props,
};
diff --git a/test/components/SelectLocation.spec.js b/test/components/SelectLocation.spec.js
index c9a1f08864..dbfe15221a 100644
--- a/test/components/SelectLocation.spec.js
+++ b/test/components/SelectLocation.spec.js
@@ -39,6 +39,7 @@ describe('components/SelectLocation', () => {
],
},
],
+ autoConnect: false,
allowLan: false,
};
diff --git a/test/components/Settings.spec.js b/test/components/Settings.spec.js
index ffdf0bf545..2a152e1cc8 100644
--- a/test/components/Settings.spec.js
+++ b/test/components/Settings.spec.js
@@ -42,6 +42,7 @@ describe('components/Settings', () => {
},
},
relayLocations: [],
+ autoConnect: false,
allowLan: false,
};