Skip to content

Commit 78fdf0c

Browse files
authored
test: comment out binary removal to prevent async test errors (#148)
1 parent aeaff48 commit 78fdf0c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

__tests__/terraform-docs.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,10 @@ describe('terraform-docs', async () => {
218218
'terraform-docs',
219219
'terraform-docs.tar.gz',
220220
'terraform-docs.zip',
221-
join('/usr/local/bin', 'terraform-docs'),
222-
join('C:\\Windows\\System32', 'terraform-docs.exe'),
221+
// It appears that removing the actual installed binary causes isssues with other async tests
222+
// resulting in errors. Thus, we leave the actual installed binaries on the system.
223+
// join('/usr/local/bin', 'terraform-docs'),
224+
// join('C:\\Windows\\System32', 'terraform-docs.exe'),
223225
];
224226

225227
beforeAll(async () => {

0 commit comments

Comments
 (0)