generated from DEFRA/ffc-template-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.setup.single.js
15 lines (14 loc) · 4.82 KB
/
jest.setup.single.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* istanbul ignore file */
jest.setTimeout(30000)
process.env.COOKIE_PASSWORD = 'cookiepasswordcookiepasswordcookiepassword'
process.env.DDI_API_BASE_URL = 'http://localhost/api'
process.env.DDI_EVENTS_BASE_URL = 'http://localhost/events'
process.env.OS_PLACES_API_BASE_URL = 'http://localhost/os-places'
process.env.OS_PLACES_API_KEY = 'some-api-key'
// This is a fake private key used purely for testing - JWT
process.env.JWT_PRIVATE_KEY = 'LS0tLS1CRUdJTiBQUklWQVRFIEtFWS0tLS0tCk1JSUV2Z0lCQURBTkJna3Foa2lHOXcwQkFRRUZBQVNDQktnd2dnU2tBZ0VBQW9JQkFRRGdhcEh6QVdGQWVIemcKU0hOd0Y1VXdoVFozMDBwRFdqMHk3dGhGbldCWndhZDJQWElhbHhOWWtzM1praVpGMFpmZFg4Z2hsTzBwTTFCbgo4VkliVWVQMkZHK1Q4MHFFN1FCWEdObzFKTUJIZitPV3VVVkJzNXJpUndqOHIydjJUQk9iUVl4UW9MUERnTFlJCjlwMDloQ3Yra1V3UlhhNStJbnpHb2hlQkR1NEhsMFM5dUp5Vkg2dGJDSUxEcmx2UTc0Z3g2WkxheXV4YzRYd3MKUHp5b3lSM2luVnNYWUgxeXZ6ZTg3ZUhkMmZ3dXpGUW96MVk5dHVwK0cyQVdvVzJwL2RrV1NMMWRDVDM0ZGJGNwp2bGJpL1NPYjQzSTNJUTZOQ3JwcDI1WUpTKzJDallGUWFTQlovSWVEbHg4ZjlLOWJPdyt0UjhYbWdpWnZjK0hNCi8xRlhObzZ4QWdNQkFBRUNnZ0VBQU1XYkVXUXZwM0NJOE95V0E5a1d4bHdNT2Q2RWpDSVpUTE5LVDA3R1hoZlAKV1JGRzE0SnBTWSt0eHlLTFZVZ1hoQTAxZFU5NEdsTjlFR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