File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ describe(`pseudo tests`, () => {
3636 expect ( testModule . deps . find ( f => f . systemName === `EMPLOYEE` ) ) . toBeDefined ( ) ;
3737 expect ( testModule . deps . find ( f => f . systemName === `DEPARTMENT` ) ) . toBeDefined ( ) ;
3838 expect ( testModule . deps . find ( f => f . systemName === `EMPDET` && f . type === `SRVPGM` ) ) . toBeDefined ( ) ;
39+
40+ const employees = targets . getTarget ( { systemName : `EMPLOYEES` , type : `PGM` } ) ;
41+ expect ( employees ) . toBeDefined ( ) ;
42+
43+ expect ( employees . deps . length ) . toBe ( 3 ) ;
44+ expect ( employees . deps . find ( f => f . systemName === `EMPDET` && f . type === `SRVPGM` ) ) . toBeDefined ( ) ;
45+ expect ( employees . deps . find ( f => f . systemName === `EMPS` && f . type === `FILE` ) ) . toBeDefined ( ) ;
46+ expect ( employees . deps . find ( f => f . systemName === `EMPLOYEE` && f . type === `FILE` ) ) . toBeDefined ( ) ;
3947 } ) ;
4048
4149 test ( `We can get a list of headers` , ( ) => {
You can’t perform that action at this time.
0 commit comments