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