@@ -214,22 +214,22 @@ describe("BundlePusher01", () => {
214
214
sshProfile = { host : "wobble" , user : "user" } ;
215
215
216
216
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
217
- "PUSH operation completed. " ) ;
217
+ "PUSH operation completed" ) ;
218
218
expect ( consoleText ) . toContain ( "WARNING: ssh profile --host value 'wobble' does not match zosmf value 'wibble'." ) ;
219
219
} ) ;
220
220
it ( "should not complain with matching zOSMF and SSH profile host names" , async ( ) => {
221
221
zosmfProfile = { host : "wibble" , user : "user" } ;
222
222
sshProfile = { host : "wibble" , user : "user" } ;
223
223
224
224
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
225
- "PUSH operation completed. " ) ;
225
+ "PUSH operation completed" ) ;
226
226
expect ( consoleText ) . not . toContain ( "WARNING: ssh profile" ) ;
227
227
} ) ;
228
228
it ( "should complain with mismatching zOSMF and CICS profile host names" , async ( ) => {
229
229
cicsProfile = { host : "wibble" , user : "testuser" , password : "thisIsntReal" , cicsPlex : "12345678" , regionName : "12345678" } ;
230
230
231
231
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
232
- "PUSH operation completed. " ) ;
232
+ "PUSH operation completed" ) ;
233
233
expect ( consoleText ) . toContain ( "WARNING: cics profile --host value 'wibble' does not match zosmf value 'testhost'." ) ;
234
234
} ) ;
235
235
it ( "should not complain with matching zOSMF and CICS profile host names" , async ( ) => {
@@ -238,31 +238,31 @@ describe("BundlePusher01", () => {
238
238
cicsProfile = { host : "wibble" , user : "user" , password : "thisIsntReal" , cicsPlex : "12345678" , regionName : "12345678" } ;
239
239
240
240
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
241
- "PUSH operation completed. " ) ;
241
+ "PUSH operation completed" ) ;
242
242
expect ( consoleText ) . not . toContain ( "WARNING: cics profile" ) ;
243
243
} ) ;
244
244
it ( "should complain with mismatching zOSMF and SSH profile user names" , async ( ) => {
245
245
zosmfProfile = { host : "wibble" , user : "fred" } ;
246
246
sshProfile = { host : "wibble" , user : "joe" } ;
247
247
248
248
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
249
- "PUSH operation completed. " ) ;
249
+ "PUSH operation completed" ) ;
250
250
expect ( consoleText ) . toContain ( "WARNING: ssh profile --user value 'joe' does not match zosmf value 'fred'." ) ;
251
251
} ) ;
252
252
it ( "should not complain with matching zOSMF and SSH profile user names" , async ( ) => {
253
253
zosmfProfile = { host : "wibble" , user : "fred" } ;
254
254
sshProfile = { host : "wibble" , user : "fred" } ;
255
255
256
256
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
257
- "PUSH operation completed. " ) ;
257
+ "PUSH operation completed" ) ;
258
258
expect ( consoleText ) . not . toContain ( "WARNING: ssh profile" ) ;
259
259
} ) ;
260
260
it ( "should not complain with matching zOSMF and SSH profile user names - case" , async ( ) => {
261
261
zosmfProfile = { host : "wibble" , user : "fred" } ;
262
262
sshProfile = { host : "wibble" , user : "FRED" } ;
263
263
264
264
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
265
- "PUSH operation completed. " ) ;
265
+ "PUSH operation completed" ) ;
266
266
expect ( consoleText ) . not . toContain ( "WARNING: ssh profile" ) ;
267
267
} ) ;
268
268
it ( "should complain with mismatching zOSMF and CICS profile user names" , async ( ) => {
@@ -271,7 +271,7 @@ describe("BundlePusher01", () => {
271
271
cicsProfile = { host : "wibble" , user : "joe" , password : "thisIsntReal" , cicsPlex : "12345678" } ;
272
272
273
273
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
274
- "PUSH operation completed. " ) ;
274
+ "PUSH operation completed" ) ;
275
275
expect ( consoleText ) . toContain ( "WARNING: cics profile --user value 'joe' does not match zosmf value 'fred'." ) ;
276
276
} ) ;
277
277
it ( "should complain with mismatching cics-deploy and CICS plex names" , async ( ) => {
@@ -280,7 +280,7 @@ describe("BundlePusher01", () => {
280
280
cicsProfile = { host : "wibble" , user : "fred" , password : "thisIsntReal" , cicsPlex : "wibble" , regionName : "12345678" } ;
281
281
282
282
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
283
- "PUSH operation completed. " ) ;
283
+ "PUSH operation completed" ) ;
284
284
expect ( consoleText ) . toContain ( "WARNING: cics profile --cics-plex value 'wibble' does not match --cicsplex value '12345678'." ) ;
285
285
} ) ;
286
286
it ( "should complain if remote bundle dir mkdir fails" , async ( ) => {
@@ -351,7 +351,7 @@ describe("BundlePusher01", () => {
351
351
throw new ImperativeError ( impError ) ;
352
352
} ) ;
353
353
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false ,
354
- "PUSH operation completed. " ) ;
354
+ "PUSH operation completed" ) ;
355
355
356
356
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
357
357
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -439,7 +439,7 @@ describe("BundlePusher01", () => {
439
439
} ) ;
440
440
441
441
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
442
- "PUSH operation completed. " ) ;
442
+ "PUSH operation completed" ) ;
443
443
444
444
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
445
445
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -457,7 +457,7 @@ describe("BundlePusher01", () => {
457
457
shellSpy . mockImplementationOnce ( ( ) => { throw new Error ( "Injected Shell error from npm uninstall" ) ; } ) ;
458
458
459
459
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
460
- "PUSH operation completed. " ) ;
460
+ "PUSH operation completed" ) ;
461
461
462
462
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
463
463
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -489,7 +489,7 @@ describe("BundlePusher01", () => {
489
489
} ) ;
490
490
491
491
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
492
- "PUSH operation completed. " ) ;
492
+ "PUSH operation completed" ) ;
493
493
494
494
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
495
495
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -600,7 +600,7 @@ describe("BundlePusher01", () => {
600
600
} ) ;
601
601
602
602
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
603
- "PUSH operation completed. " ) ;
603
+ "PUSH operation completed" ) ;
604
604
605
605
expect ( consoleText ) . not . toContain ( "WARNING: No .zosAttributes file found in the bundle directory, default values will be applied." ) ;
606
606
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -615,7 +615,7 @@ describe("BundlePusher01", () => {
615
615
} ) ;
616
616
it ( "should use a default zosattribs file" , async ( ) => {
617
617
await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true ,
618
- "PUSH operation completed. " ) ;
618
+ "PUSH operation completed" ) ;
619
619
620
620
expect ( consoleText ) . toContain ( "WARNING: No .zosAttributes file found in the bundle directory, default values will be applied." ) ;
621
621
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -841,7 +841,7 @@ describe("BundlePusher01", () => {
841
841
} ) ;
842
842
it ( "should run to completion" , async ( ) => {
843
843
844
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
844
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
845
845
846
846
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
847
847
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -866,7 +866,7 @@ describe("BundlePusher01", () => {
866
866
return [ "package.json" ] ;
867
867
} ) ;
868
868
869
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " , parms ) ;
869
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" , parms ) ;
870
870
871
871
expect ( consoleText ) . toContain ( "Making remote bundle directory '/u/escapedDirName/12345678'" ) ;
872
872
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -913,7 +913,7 @@ describe("BundlePusher01", () => {
913
913
return IS_NOT_DIRECTORY ;
914
914
} ) ;
915
915
916
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " , parms ) ;
916
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" , parms ) ;
917
917
918
918
expect ( consoleText ) . toContain ( "Running 'npm install' in '/u/escapedDirName/12345678/XXXDIRXXX'" ) ;
919
919
expect ( consoleText ) . toContain ( "Running 'npm install' in '/u/escapedDirName/12345678/XXXDIRXXX/ZZZDIRZZZ'" ) ;
@@ -942,7 +942,7 @@ describe("BundlePusher01", () => {
942
942
return [ "package.json" ] ;
943
943
} ) ;
944
944
945
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " , parms ) ;
945
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" , parms ) ;
946
946
947
947
expect ( consoleText ) . toContain ( "Making remote bundle directory '/u/ThisDoesNotExist/12345678'" ) ;
948
948
expect ( consoleText ) . toContain ( "Accessing contents of remote bundle directory" ) ;
@@ -977,7 +977,7 @@ describe("BundlePusher01", () => {
977
977
return [ "package.json" ] ;
978
978
} ) ;
979
979
980
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true , "PUSH operation completed. " , parms ) ;
980
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , true , "PUSH operation completed" , parms ) ;
981
981
982
982
expect ( consoleText ) . toContain ( "Making remote bundle directory '/u/ThisDoesNotExist/12345678'" ) ;
983
983
expect ( consoleText ) . toContain ( "Accessing contents of remote bundle directory" ) ;
@@ -1010,7 +1010,7 @@ describe("BundlePusher01", () => {
1010
1010
submitSpy = jest . spyOn ( SubmitJobs , "submitJclString" ) . mockImplementation ( ( ) =>
1011
1011
[ { ddName : "SYSTSPRT" , stepName : "DFHDPLOY" , data : "DFHRL2012I http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP" } ] ) ;
1012
1012
1013
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1013
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1014
1014
1015
1015
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1016
1016
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1031,7 +1031,7 @@ describe("BundlePusher01", () => {
1031
1031
submitSpy = jest . spyOn ( SubmitJobs , "submitJclString" ) . mockImplementation ( ( ) =>
1032
1032
[ { ddName : "SYSTSPRT" , stepName : "DFHDPLOY" , data : "DFHRL2012I http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP" } ] ) ;
1033
1033
1034
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1034
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1035
1035
1036
1036
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1037
1037
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1072,9 +1072,9 @@ describe("BundlePusher01", () => {
1072
1072
}
1073
1073
} ) ;
1074
1074
1075
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1075
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1076
1076
1077
- expect ( consoleText ) . toContain ( "CICS Regions in Scope '12345678' of CICSplex '12345678':" ) ;
1077
+ expect ( consoleText ) . toContain ( "Regions in scope '12345678' of CICSplex '12345678':" ) ;
1078
1078
expect ( consoleText ) . toContain ( "Applid: ABCDEFG jobname: MYCICS jobid: JOB12345" ) ;
1079
1079
expect ( consoleText ) . not . toContain ( "NODEJSAPP" ) ;
1080
1080
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1098,16 +1098,16 @@ describe("BundlePusher01", () => {
1098
1098
const parms = getCommonParmsForPushTests ( ) ;
1099
1099
parms . arguments . verbose = true ;
1100
1100
1101
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " , parms ) ;
1101
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" , parms ) ;
1102
1102
1103
1103
expect ( consoleText ) . toContain ( "Making remote bundle directory '/u/ThisDoesNotExist/12345678'" ) ;
1104
1104
expect ( consoleText ) . toContain ( "Accessing contents of remote bundle directory" ) ;
1105
1105
expect ( consoleText ) . toContain ( "Uploading bundle contents to remote directory" ) ;
1106
1106
expect ( consoleText ) . toContain ( "WARNING: No .zosAttributes file found in the bundle directory, default values will be applied" ) ;
1107
1107
expect ( consoleText ) . toContain ( "Deploying bundle '12345678' to CICS" ) ;
1108
1108
expect ( consoleText ) . toContain ( "Deploy complete" ) ;
1109
- expect ( consoleText ) . toContain ( "Gathering Scope information" ) ;
1110
- expect ( consoleText ) . toContain ( "Querying Regions in Scope over CMCI" ) ;
1109
+ expect ( consoleText ) . toContain ( "Gathering scope information" ) ;
1110
+ expect ( consoleText ) . toContain ( "Querying regions in scope over CMCI" ) ;
1111
1111
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1112
1112
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1113
1113
expect ( listSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1161,9 +1161,9 @@ describe("BundlePusher01", () => {
1161
1161
expect ( consoleText ) . toContain ( "WARNING: No .zosAttributes file found in the bundle directory, default values will be applied" ) ;
1162
1162
expect ( consoleText ) . toContain ( "Deploying bundle '12345678' to CICS" ) ;
1163
1163
expect ( consoleText ) . toContain ( "Deploy ended with errors" ) ;
1164
- expect ( consoleText ) . toContain ( "Gathering Scope information" ) ;
1165
- expect ( consoleText ) . toContain ( "Querying Regions in Scope over CMCI" ) ;
1166
- expect ( consoleText ) . toContain ( "CICS Regions in Scope '12345678' of CICSplex '12345678':" ) ;
1164
+ expect ( consoleText ) . toContain ( "Gathering scope information" ) ;
1165
+ expect ( consoleText ) . toContain ( "Querying regions in scope over CMCI" ) ;
1166
+ expect ( consoleText ) . toContain ( "Regions in scope '12345678' of CICSplex '12345678':" ) ;
1167
1167
expect ( consoleText ) . toContain ( "Applid: ABCDEFG jobname: MYCICS jobid: JOB12345" ) ;
1168
1168
expect ( consoleText ) . toContain ( "Querying NODEJSAPP resources over CMCI" ) ;
1169
1169
expect ( consoleText ) . toContain ( "zowe cics get resource CICSNodejsapp --region-name 12345678 --criteria \"BUNDLE=12345678\" --cics-plex 12345678" ) ;
@@ -1187,7 +1187,7 @@ describe("BundlePusher01", () => {
1187
1187
[ { ddName : "SYSTSPRT" , stepName : "DFHDPLOY" , data : "DFHRL2012I http://www.ibm.com/xmlns/prod/cics/bundle/NODEJSAPP" } ] ) ;
1188
1188
cmciSpy . mockImplementationOnce ( ( ) => { throw new Error ( "Injected CMCI GET error" ) ; } ) ;
1189
1189
1190
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1190
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1191
1191
1192
1192
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
1193
1193
expect ( sshSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1233,7 +1233,7 @@ describe("BundlePusher01", () => {
1233
1233
}
1234
1234
} ) ;
1235
1235
1236
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1236
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1237
1237
1238
1238
expect ( consoleText ) . toContain ( "zowe cics get resource CICSNodejsapp --region-name 12345678 --criteria \"BUNDLE=12345678\" --cics-plex 12345678" ) ;
1239
1239
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1280,7 +1280,7 @@ describe("BundlePusher01", () => {
1280
1280
}
1281
1281
} ) ;
1282
1282
1283
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1283
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1284
1284
1285
1285
expect ( consoleText ) . toContain ( "zowe cics get resource CICSNodejsapp --region-name 12345678 --criteria \"BUNDLE=12345678\" --cics-plex 12345678" ) ;
1286
1286
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1334,12 +1334,12 @@ describe("BundlePusher01", () => {
1334
1334
}
1335
1335
} ) ;
1336
1336
1337
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1337
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1338
1338
1339
- expect ( consoleText ) . toContain ( "CICS Regions in Scope '12345678' of CICSplex '12345678':" ) ;
1339
+ expect ( consoleText ) . toContain ( "Regions in scope '12345678' of CICSplex '12345678':" ) ;
1340
1340
expect ( consoleText ) . toContain ( "Applid: ABCDEFG jobname: MYCICS jobid: JOB12345" ) ;
1341
- expect ( consoleText ) . toContain ( "NODEJSAPP resources for Bundle '12345678' in Scope '12345678':" ) ;
1342
- expect ( consoleText ) . toContain ( "CICS NODEJSAPP resource 'name' is in 'ENABLED' state in region '1' with process id '22'" ) ;
1341
+ expect ( consoleText ) . toContain ( "NODEJSAPP resources for bundle '12345678' in scope '12345678':" ) ;
1342
+ expect ( consoleText ) . toContain ( "NODEJSAPP resource 'name' is in 'ENABLED' state in region '1' with process id '22'" ) ;
1343
1343
expect ( consoleText ) . toContain ( "stdout: /tmp/stdout" ) ;
1344
1344
expect ( consoleText ) . toContain ( "stderr: /tmp/stderr" ) ;
1345
1345
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1393,12 +1393,12 @@ describe("BundlePusher01", () => {
1393
1393
}
1394
1394
} ) ;
1395
1395
1396
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1396
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1397
1397
1398
- expect ( consoleText ) . toContain ( "CICS Regions in Scope '12345678' of CICSplex '12345678':" ) ;
1398
+ expect ( consoleText ) . toContain ( "Regions in scope '12345678' of CICSplex '12345678':" ) ;
1399
1399
expect ( consoleText ) . toContain ( "Applid: ABCD jobname: MYCICS jobid: JOB12345" ) ;
1400
- expect ( consoleText ) . toContain ( "NODEJSAPP resources for Bundle '12345678' in Scope '12345678':" ) ;
1401
- expect ( consoleText ) . toContain ( "CICS NODEJSAPP resource 'name' is in 'DISABLED' state in region '1' with process id '0'." ) ;
1400
+ expect ( consoleText ) . toContain ( "NODEJSAPP resources for bundle '12345678' in scope '12345678':" ) ;
1401
+ expect ( consoleText ) . toContain ( "NODEJSAPP resource 'name' is in 'DISABLED' state in region '1' with process id '0'." ) ;
1402
1402
expect ( consoleText ) . toContain ( "stdout: <not available>" ) ;
1403
1403
expect ( consoleText ) . toContain ( "stderr: <not available>" ) ;
1404
1404
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
@@ -1463,16 +1463,16 @@ describe("BundlePusher01", () => {
1463
1463
}
1464
1464
} ) ;
1465
1465
1466
- await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed. " ) ;
1466
+ await runPushTest ( "__tests__/__resources__/ExampleBundle01" , false , "PUSH operation completed" ) ;
1467
1467
1468
- expect ( consoleText ) . toContain ( "CICS Regions in Scope '12345678' of CICSplex '12345678':" ) ;
1468
+ expect ( consoleText ) . toContain ( "Regions in scope '12345678' of CICSplex '12345678':" ) ;
1469
1469
expect ( consoleText ) . toContain ( "Applid: ABCD jobname: MYCICS jobid: JOB12345" ) ;
1470
1470
expect ( consoleText ) . toContain ( "Applid: EFGHIHJK jobname: MYCICS2 jobid: JOB54321" ) ;
1471
- expect ( consoleText ) . toContain ( "NODEJSAPP resources for Bundle '12345678' in Scope '12345678':" ) ;
1472
- expect ( consoleText ) . toContain ( "CICS NODEJSAPP resource 'name' is in 'ENABLED' state in region '1' with process id '22'." ) ;
1471
+ expect ( consoleText ) . toContain ( "NODEJSAPP resources for bundle '12345678' in scope '12345678':" ) ;
1472
+ expect ( consoleText ) . toContain ( "NODEJSAPP resource 'name' is in 'ENABLED' state in region '1' with process id '22'." ) ;
1473
1473
expect ( consoleText ) . toContain ( "stdout: /tmp/stdout" ) ;
1474
1474
expect ( consoleText ) . toContain ( "stderr: /tmp/stderr" ) ;
1475
- expect ( consoleText ) . toContain ( "CICS NODEJSAPP resource 'name2' is in 'ENABLED' state in region '1' with process id '33'." ) ;
1475
+ expect ( consoleText ) . toContain ( "NODEJSAPP resource 'name2' is in 'ENABLED' state in region '1' with process id '33'." ) ;
1476
1476
expect ( consoleText ) . toContain ( "stdout: /tmp/name2out" ) ;
1477
1477
expect ( consoleText ) . toContain ( "stderr: /tmp/name2err" ) ;
1478
1478
expect ( zosMFSpy ) . toHaveBeenCalledTimes ( 1 ) ;
0 commit comments