Skip to content

Commit

Permalink
fix: do not check stderr output in IaC smoke tests
Browse files Browse the repository at this point in the history
  • Loading branch information
francescomari committed Oct 4, 2022
1 parent b0467ee commit 55cbba0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/smoke/iac/test.spec.ts
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 55cbba0

Please sign in to comment.