Skip to content

feat(docs): add terraform-docs tests #56

feat(docs): add terraform-docs tests

feat(docs): add terraform-docs tests #56

Triggered via pull request October 31, 2024 17:20
Status Failure
Total duration 35s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
__tests__/terraform-docs.test.ts > terraform-docs > install terraform-docs (windows) > should successfully install on win32-x64: __tests__/terraform-docs.test.ts#L180
AssertionError: expected [ [ …(2) ], [ …(2) ], [ …(2) ], …(2) ] to deeply equal [ [ …(2) ], [ …(2) ], [ …(2) ], …(2) ] - Expected + Received Array [ Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Invoke-WebRequest -Uri \"https://terraform-docs.io/dl/v0.19.0/terraform-docs-v0.19.0-windows-amd64.zip\" -OutFile \"./terraform-docs.zip\"", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Expand-Archive -Path \"./terraform-docs.zip\" -DestinationPath \"./terraform-docs\" -Force", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Write-Output ([System.IO.Path]::GetFullPath([System.Environment]::GetFolderPath('System')))", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Move-Item -Path \"./terraform-docs/terraform-docs.exe\" -Destination \"C:\\Windows\\System32\\terraform-docs.exe\"", ], ], Array [ - "terraform-docs", + "C:\\Windows\\System32\\terraform-docs.exe", Array [ "--version", ], Object { "stdio": "inherit", }, ], ] ❯ __tests__/terraform-docs.test.ts:180:45
__tests__/terraform-docs.test.ts > terraform-docs > install terraform-docs (windows) > should successfully install on win32-arm64: __tests__/terraform-docs.test.ts#L180
AssertionError: expected [ [ …(2) ], [ …(2) ], [ …(2) ], …(2) ] to deeply equal [ [ …(2) ], [ …(2) ], [ …(2) ], …(2) ] - Expected + Received Array [ Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Invoke-WebRequest -Uri \"https://terraform-docs.io/dl/v0.19.0/terraform-docs-v0.19.0-windows-arm64.zip\" -OutFile \"./terraform-docs.zip\"", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Expand-Archive -Path \"./terraform-docs.zip\" -DestinationPath \"./terraform-docs\" -Force", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Write-Output ([System.IO.Path]::GetFullPath([System.Environment]::GetFolderPath('System')))", ], ], Array [ "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", Array [ "-Command", "Move-Item -Path \"./terraform-docs/terraform-docs.exe\" -Destination \"C:\\Windows\\System32\\terraform-docs.exe\"", ], ], Array [ - "terraform-docs", + "C:\\Windows\\System32\\terraform-docs.exe", Array [ "--version", ], Object { "stdio": "inherit", }, ], ] ❯ __tests__/terraform-docs.test.ts:180:45
Test
Process completed with exit code 1.