Skip to content

Commit af64861

Browse files
author
naman-contentstack
committed
removed logs
1 parent 0f7238b commit af64861

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

tests/integration/tsgen.integration.test.ts

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,6 @@ describe("Integration Test for tsgen command", () => {
114114

115115
expect(result.status).not.toBe(0); // Command should fail
116116

117-
// Log the actual error output to debug GitHub Actions issue
118-
if (process.env.CI) {
119-
console.log(
120-
"CI Environment - stderr content:",
121-
JSON.stringify(result.stderr),
122-
);
123-
}
124-
125-
// Check both stdout and stderr for the error message (CI vs local environment difference)
126117
expect(result.stderr + result.stdout).toContain("No token found");
127118
});
128119

@@ -189,20 +180,6 @@ describe("Integration Test for tsgen command", () => {
189180
const result = spawnSync(cmd, args, { encoding: "utf-8" });
190181

191182
expect(result.status).not.toBe(0);
192-
193-
// Log the actual error output to debug GitHub Actions issue
194-
if (process.env.Ci) {
195-
console.log(
196-
"CI Environment - stderr content:",
197-
JSON.stringify(result.stderr),
198-
);
199-
console.log(
200-
"CI Environment - stdout content:",
201-
JSON.stringify(result.stdout),
202-
);
203-
}
204-
205-
// Check both stdout and stderr for the error message (CI vs local environment difference)
206183
expect(result.stderr + result.stdout).toContain("No token found");
207184
});
208185

0 commit comments

Comments
 (0)