feat(docs): add terraform-docs tests #56
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.
|