mirror of
https://github.com/hashicorp/setup-terraform.git
synced 2025-12-19 01:37:09 +00:00
Merge 0e91055bdf into 92e4d08fe1
This commit is contained in:
commit
feebb036b6
3 changed files with 84 additions and 16 deletions
|
|
@ -571,6 +571,13 @@ describe('Setup Terraform', () => {
|
|||
.fn()
|
||||
.mockReturnValueOnce('file');
|
||||
|
||||
tc.cacheDir = jest.fn()
|
||||
.mockReturnValueOnce('file');
|
||||
|
||||
tc.find = jest
|
||||
.fn()
|
||||
.mockReturnValueOnce(null);
|
||||
|
||||
os.platform = jest
|
||||
.fn()
|
||||
.mockReturnValue('linux');
|
||||
|
|
@ -615,6 +622,13 @@ describe('Setup Terraform', () => {
|
|||
.fn()
|
||||
.mockReturnValueOnce('file');
|
||||
|
||||
tc.cacheDir = jest.fn()
|
||||
.mockReturnValueOnce('file');
|
||||
|
||||
tc.find = jest
|
||||
.fn()
|
||||
.mockReturnValueOnce(null);
|
||||
|
||||
os.platform = jest
|
||||
.fn()
|
||||
.mockReturnValue('win32');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue