summaryrefslogtreecommitdiffhomepage
path: root/desktop/packages/mullvad-vpn/test/e2e/mock-data.ts
blob: 0c21bab06bbac85712dd641312703d260e81236c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
import { IRelayList } from '../../src/shared/daemon-rpc-types';

const relayList: IRelayList = {
  countries: [
    {
      name: 'Sweden',
      code: 'se',
      cities: [
        {
          name: 'Gothenburg',
          code: 'got',
          latitude: 58,
          longitude: 12,
          relays: [
            {
              hostname: 'mullvad-wireguard-1',
              provider: 'mullvad',
              ipv4AddrIn: '10.0.0.1',
              includeInCountry: true,
              active: true,
              weight: 0,
              owned: true,
              endpointType: 'wireguard',
              daita: true,
              lwo: true,
            },
            {
              hostname: 'mullvad-wireguard-23',
              provider: 'mullvad',
              ipv4AddrIn: '10.0.0.2',
              includeInCountry: true,
              active: true,
              weight: 0,
              owned: true,
              endpointType: 'wireguard',
              daita: true,
              lwo: false,
            },
            {
              hostname: 'another-provider-wireguard-1',
              provider: 'another-provider',
              ipv4AddrIn: '10.0.0.3',
              includeInCountry: true,
              active: true,
              weight: 0,
              owned: false,
              endpointType: 'wireguard',
              daita: true,
              lwo: false,
            },
            {
              hostname: 'mullvad-wireguard-quic-1',
              provider: 'mullvad',
              ipv4AddrIn: '10.0.0.4',
              includeInCountry: true,
              active: true,
              weight: 0,
              owned: true,
              endpointType: 'wireguard',
              daita: true,
              quic: {
                addrIn: ['10.0.0.4'],
                domain: '',
                token: '',
              },
              lwo: false,
            },
            {
              hostname: 'mullvad-openvpn-1',
              provider: 'mullvad',
              ipv4AddrIn: '10.0.0.2',
              includeInCountry: true,
              active: true,
              weight: 0,
              owned: true,
              endpointType: 'openvpn',
              daita: false,
              lwo: false,
            },
          ],
        },
      ],
    },
  ],
};

export const mockData = {
  relayList,
};