File tree 5 files changed +281
-553
lines changed
5 files changed +281
-553
lines changed Original file line number Diff line number Diff line change @@ -25,15 +25,15 @@ trigger:
25
25
26
26
linting : &linting
27
27
pull : if-not-exists
28
- image : node:lts
28
+ image : node:20
29
29
environment :
30
30
NOTIFY_KEY : USE_MOCK
31
31
commands :
32
32
- yarn run test:lint
33
33
34
34
unit_tests : &unit_tests
35
35
pull : if-not-exists
36
- image : node:lts
36
+ image : node:20
37
37
environment :
38
38
NOTIFY_KEY : USE_MOCK
39
39
commands :
67
67
68
68
- name : setup_deploy
69
69
pull : if-not-exists
70
- image : node:lts
70
+ image : node:20
71
71
environment :
72
72
NOTIFY_KEY : USE_MOCK
73
73
commands :
@@ -176,7 +176,7 @@ steps:
176
176
177
177
- name : setup_branch
178
178
pull : if-not-exists
179
- image : node:lts
179
+ image : node:20
180
180
environment :
181
181
NOTIFY_KEY : USE_MOCK
182
182
commands :
@@ -233,7 +233,7 @@ steps:
233
233
# Snyk security scans which run after branch deployment to prevent blocking of PR UAT tests
234
234
- name : snyk_scan
235
235
pull : if-not-exists
236
- image : node:lts
236
+ image : node:20
237
237
environment :
238
238
SNYK_TOKEN :
239
239
from_secret : snyk_token
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ module.exports = {
9
9
DATE_FORMAT : 'YYYY-MM-DD' ,
10
10
PRETTY_DATE_FORMAT : 'Do MMMM YYYY' ,
11
11
dateTimeFormat : 'DD MMM YYYY HH:MM:SS ZZ' ,
12
+ feedbackUrl : process . env . FEEDBACK_URL ,
12
13
notify : {
13
14
apiKey : process . env . NOTIFY_STUB === 'true' ? 'USE_MOCK' : process . env . NOTIFY_KEY ,
14
15
caseworkerEmail : process . env . CASEWORKER_EMAIL ,
Original file line number Diff line number Diff line change 51
51
"eslint-config-hof" : " ^1.2.1" ,
52
52
"express" : " ^4.17.1" ,
53
53
"funkie" : " ^0.0.6" ,
54
- "funkie-chromedriver" : " ^0.1.0" ,
55
54
"mocha" : " ^9.0.3" ,
56
55
"nyc" : " ^15.1.0" ,
57
56
"playwright" : " ^1.39.0" ,
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ const app = hof(settings);
35
35
app . use ( ( req , res , next ) => {
36
36
res . locals . htmlLang = 'en' ;
37
37
// Set feedback url, required to display phase banner
38
- res . locals . feedbackUrl = 'https://eforms.homeoffice.gov.uk/outreach/feedback.ofml' ;
38
+ res . locals . feedbackUrl = config . feedbackUrl ;
39
39
res . locals . startPageRedirectUrl = config . startPageRedirectUrl ;
40
40
res . locals . footerSupportLinks = [
41
41
{ path : '/cookies' , property : 'base.cookies' } ,
You can’t perform that action at this time.
0 commit comments