mirror of
https://github.com/actions/setup-go.git
synced 2025-06-30 05:03:43 +00:00
Adjust unit-tests for supporting new feature
This commit is contained in:
parent
661954d154
commit
c64d0e04b0
2 changed files with 6 additions and 6 deletions
|
@ -23,8 +23,8 @@ describe('restoreCache', () => {
|
|||
beforeEach(() => {
|
||||
getCacheDirectoryPathSpy.mockImplementation(
|
||||
(PackageManager: PackageManagerInfo) => {
|
||||
return new Promise<string>(resolve => {
|
||||
resolve('cache_directory_path');
|
||||
return new Promise<string[]>(resolve => {
|
||||
resolve(['cache_directory_path', 'cache_directory_path']);
|
||||
});
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue