mirror of
https://github.com/actions/setup-python.git
synced 2025-04-21 22:38:43 +00:00
Mock resolved value test
This commit is contained in:
parent
9c76d73463
commit
6d85af87cc
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ virtualenvs.path = "{cache-dir}/virtualenvs" # /Users/patrick/Library/Caches/py
|
|||
}
|
||||
});
|
||||
|
||||
computeKeysSpy.mockImplementation(() => 'Ubuntu-20.4');
|
||||
computeKeysSpy.mockResolvedValue('Ubuntu-20.4');
|
||||
}
|
||||
|
||||
await cacheDistributor.restoreCache();
|
||||
|
|
Loading…
Add table
Reference in a new issue