diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-07-10 20:32:03 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-07-16 11:38:07 +0200 |
| commit | 5897eef9b8c5ba9dc30c5bc595e9c00811e79c0a (patch) | |
| tree | 5571d7b2da8521c98d0b57c04d72fd3b14faa142 /test/components | |
| parent | 0bc0f175ebdf6d0464cd1501c83b2f0c10816801 (diff) | |
| download | mullvadvpn-5897eef9b8c5ba9dc30c5bc595e9c00811e79c0a.tar.xz mullvadvpn-5897eef9b8c5ba9dc30c5bc595e9c00811e79c0a.zip | |
Add auto-start and auto-connect fields to Preferences
Diffstat (limited to 'test/components')
| -rw-r--r-- | test/components/Preferences.spec.js | 6 | ||||
| -rw-r--r-- | test/components/SelectLocation.spec.js | 1 | ||||
| -rw-r--r-- | test/components/Settings.spec.js | 1 |
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, }; |
