1
0
Fork 0
mirror of https://code.forgejo.org/actions/cache.git synced 2024-11-28 06:59:15 +01:00

Fix tests

This commit is contained in:
Sampark Sharma 2023-01-05 10:35:38 +00:00 committed by GitHub
parent 2637f06e5f
commit 48a27058cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -164,9 +164,14 @@ test("save on GHES with AC available", async () => {
await run(new StateProvider());
expect(saveCacheMock).toHaveBeenCalledTimes(1);
expect(saveCacheMock).toHaveBeenCalledWith([inputPath], primaryKey, {
uploadChunkSize: 4000000
}, false);
expect(saveCacheMock).toHaveBeenCalledWith(
[inputPath],
primaryKey,
{
uploadChunkSize: 4000000
},
false
);
expect(failedMock).toHaveBeenCalledTimes(0);
});