Skip to content

Commit 7647105

Browse files
committed
Additional test case
Signed-off-by: worksofliam <[email protected]>
1 parent 67f9754 commit 7647105

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

cli/test/cs_with_bnddir.test.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff 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`, () => {

0 commit comments

Comments
 (0)