From 55cbba0e79e9164bf21e47cf67af563d2ac0c20f Mon Sep 17 00:00:00 2001 From: Francesco Mari Date: Tue, 4 Oct 2022 12:49:28 +0200 Subject: [PATCH] fix: do not check stderr output in IaC smoke tests --- test/smoke/iac/test.spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/smoke/iac/test.spec.ts b/test/smoke/iac/test.spec.ts index 3fca1ad9eb..da1addf3dd 100644 --- a/test/smoke/iac/test.spec.ts +++ b/test/smoke/iac/test.spec.ts @@ -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); });