mirror of
https://github.com/actions/cache.git
synced 2026-10-15 13:49:35 +00:00
Add unit tests for actionUtils (#93)
* Add unit tests for actionUtils * Fix file size on ubuntu and test name * Remove unused import
This commit is contained in:
1 parent
bb828da54c
commit
c0584c42d1
4 files changed
+233
-2
No files matched your search
@@ -299,7 +299,7 @@ test("restore with a pull request event and cache found", async () => {
|
||||
const cacheEntry: ArtifactCacheEntry = {
|
||||
cacheKey: key,
|
||||
scope: "refs/heads/master",
|
||||
archiveLocation: "https://www.example.com/download"
|
||||
archiveLocation: "www.actionscache.test/download"
|
||||
};
|
||||
const getCacheMock = jest.spyOn(cacheHttpClient, "getCacheEntry");
|
||||
getCacheMock.mockImplementation(() => {
|
||||
|
||||
Reference in new issue
Block a user