@@ -144,19 +144,18 @@ jobs:
144144
145145 # Generate test-constants.local.js with real credentials
146146 echo "Generating tests/e2e/test-constants.local.js..."
147- cat > tests/e2e/test-constants.local.js <<JSEOF
148- export const TEST_CONSTANTS = {
149- mockHost : " $SF_HOST" ,
150- mockToken : " $ACCESS_TOKEN" ,
151- apiVersion : " $SF_TEST_APIVERSION" ,
152- accountRecordId : " $SF_TEST_ACCOUNTID" ,
153- accountRecordName : " Test Account 1" ,
154- testUserSearchTerm : " Integration User" ,
155- flowId : " $SF_TEST_FLOWID" ,
156- flowDefId : " $SF_TEST_FLOWDEFID" ,
157- mockEnabled : $SF_TEST_MOCKENABLED
158- };
159- JSEOF
147+ printf '%s\n' \
148+ 'export const TEST_CONSTANTS = {' \
149+ ' mockHost: "'"$SF_HOST"'",' \
150+ ' mockToken: "'"$ACCESS_TOKEN"'",' \
151+ ' apiVersion: "'"$SF_TEST_APIVERSION"'",' \
152+ ' accountRecordId: "'"$SF_TEST_ACCOUNTID"'",' \
153+ ' accountRecordName: "Test Account 1",' \
154+ ' testUserSearchTerm: "Integration User",' \
155+ ' flowId: "'"$SF_TEST_FLOWID"'",' \
156+ ' flowDefId: "'"$SF_TEST_FLOWDEFID"'",' \
157+ ' mockEnabled: '"$SF_TEST_MOCKENABLED" \
158+ '};' > tests/e2e/test-constants.local.js
160159
161160 - name : Install dependencies
162161 run : npm ci
0 commit comments