Skip to content

Commit e839df9

Browse files
author
naman-contentstack
committed
added condition to debug test case
1 parent a545d6d commit e839df9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/tsgen.integration.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ describe("Integration Test for tsgen command", () => {
130130
];
131131

132132
const result = spawnSync(cmd, args, { encoding: "utf-8" });
133-
133+
console.error(result);
134134
expect(result.status).toBe(0);
135135
expect(fs.existsSync(outputFilePath)).toBeTruthy();
136136

@@ -156,6 +156,7 @@ describe("Integration Test for tsgen command", () => {
156156
];
157157

158158
const result = spawnSync(cmd, args, { encoding: "utf-8" });
159+
console.error(result);
159160

160161
expect(result.status).toBe(0);
161162
expect(fs.existsSync(outputFilePath)).toBeTruthy();

0 commit comments

Comments
 (0)