Skip to content

Commit

Permalink
Merge pull request #4043 from snyk/fix/iac-smoke-stderr
Browse files Browse the repository at this point in the history
fix: do not check stderr output in IaC smoke tests
  • Loading branch information
francescomari committed Oct 4, 2022
2 parents 0f54465 + 55cbba0 commit e9b88b9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/smoke/iac/test.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,10 @@ describe('snyk iac test', () => {
const filePath = 'iac/depth_detection/root.tf';

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

// Assert
expect(stdout).toContain('Infrastructure as Code');
expect(stderr).toBe('');
expect(exitCode).toBeLessThan(2);
});

Expand Down

0 comments on commit e9b88b9

Please sign in to comment.