Skip to content

Commit e9b88b9

Browse files
Merge pull request #4043 from snyk/fix/iac-smoke-stderr
fix: do not check stderr output in IaC smoke tests
2 parents 0f54465 + 55cbba0 commit e9b88b9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/smoke/iac/test.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ describe('snyk iac test', () => {
1212
const filePath = 'iac/depth_detection/root.tf';
1313

1414
// Act
15-
const { stderr, stdout, exitCode } = await run(`snyk iac test ${filePath}`);
15+
const { stdout, exitCode } = await run(`snyk iac test ${filePath}`);
1616

1717
// Assert
1818
expect(stdout).toContain('Infrastructure as Code');
19-
expect(stderr).toBe('');
2019
expect(exitCode).toBeLessThan(2);
2120
});
2221

0 commit comments

Comments
 (0)