mirror of
https://code.forgejo.org/actions/cache.git
synced 2024-11-14 18:56:20 +01:00
typo
This commit is contained in:
parent
0137340fba
commit
c31528629d
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@ test("save with no primary key in state outputs warning", async () => {
|
||||||
expect(failedMock).toHaveBeenCalledTimes(0);
|
expect(failedMock).toHaveBeenCalledTimes(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("save without AC available should no=op", async () => {
|
test("save without AC available should no-op", async () => {
|
||||||
jest.spyOn(actionUtils, "isCacheFeatureAvailable").mockImplementation(
|
jest.spyOn(actionUtils, "isCacheFeatureAvailable").mockImplementation(
|
||||||
() => false
|
() => false
|
||||||
);
|
);
|
||||||
|
@ -116,7 +116,7 @@ test("save without AC available should no=op", async () => {
|
||||||
expect(saveCacheMock).toHaveBeenCalledTimes(0);
|
expect(saveCacheMock).toHaveBeenCalledTimes(0);
|
||||||
});
|
});
|
||||||
|
|
||||||
test("save on ghes without AC available should no=op", async () => {
|
test("save on ghes without AC available should no-op", async () => {
|
||||||
jest.spyOn(actionUtils, "isGhes").mockImplementation(() => true);
|
jest.spyOn(actionUtils, "isGhes").mockImplementation(() => true);
|
||||||
jest.spyOn(actionUtils, "isCacheFeatureAvailable").mockImplementation(
|
jest.spyOn(actionUtils, "isCacheFeatureAvailable").mockImplementation(
|
||||||
() => false
|
() => false
|
||||||
|
|
Loading…
Reference in a new issue