Mock resolved value test

This commit is contained in:
panticmilos 2022-07-18 13:06:54 +02:00
parent 9c76d73463
commit 6d85af87cc

View file

@ -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();