diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2017-12-12 12:52:42 +0100 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2017-12-19 10:32:24 +0100 |
| commit | 07fda0947a80cb122431284d12e24e6f806b8280 (patch) | |
| tree | e94c7fe6560d0050bcfec6b03017df3f04952603 /test | |
| parent | 668ddcd44533f2d8e80f373e0bcd2d9d257e6ed3 (diff) | |
| download | mullvadvpn-07fda0947a80cb122431284d12e24e6f806b8280.tar.xz mullvadvpn-07fda0947a80cb122431284d12e24e6f806b8280.zip | |
Update redux store
Diffstat (limited to 'test')
| -rw-r--r-- | test/components/Connect.spec.js | 6 | ||||
| -rw-r--r-- | test/components/SelectLocation.spec.js | 3 | ||||
| -rw-r--r-- | test/components/Settings.spec.js | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/test/components/Connect.spec.js b/test/components/Connect.spec.js index 748dd25761..17ede98454 100644 --- a/test/components/Connect.spec.js +++ b/test/components/Connect.spec.js @@ -122,6 +122,9 @@ describe('components/Connect', () => { port: 'any', } }, + relayLocations: { + countries: [], + }, }, getServerInfo: (location) => { return servers.find((server) => { @@ -180,6 +183,9 @@ const defaultProps: ConnectProps = { port: 'any', } }, + relayLocations: { + countries: [], + }, }, connection: defaultConnection, }; diff --git a/test/components/SelectLocation.spec.js b/test/components/SelectLocation.spec.js index 439edc1865..099594ca66 100644 --- a/test/components/SelectLocation.spec.js +++ b/test/components/SelectLocation.spec.js @@ -17,6 +17,9 @@ describe('components/SelectLocation', () => { port: 'any', } }, + relayLocations: { + countries: [], + }, }; const makeProps = (state: SettingsReduxState, mergeProps: $Shape<SelectLocationProps>): SelectLocationProps => { diff --git a/test/components/Settings.spec.js b/test/components/Settings.spec.js index 31a5fa09a9..7b4780ece2 100644 --- a/test/components/Settings.spec.js +++ b/test/components/Settings.spec.js @@ -42,6 +42,9 @@ describe('components/Settings', () => { port: 1301, }, }, + relayLocations: { + countries: [], + }, }; const makeProps = (anAccountState: AccountReduxState, aSettingsState: SettingsReduxState, mergeProps: $Shape<SettingsProps> = {}): SettingsProps => { |
