Rename option to lookup-only
This commit is contained in:
@@ -79,7 +79,7 @@ test("restore with no cache found", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -122,7 +122,7 @@ test("restore with restore keys and no cache found", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -164,7 +164,7 @@ test("restore with cache found for key", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -209,7 +209,7 @@ test("restore with cache found for restore key", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -232,7 +232,7 @@ test("restore with dry-run set", async () => {
|
||||
testUtils.setInputs({
|
||||
path: path,
|
||||
key,
|
||||
dryRun: true
|
||||
lookupOnly: true
|
||||
});
|
||||
|
||||
const infoMock = jest.spyOn(core, "info");
|
||||
@@ -253,7 +253,7 @@ test("restore with dry-run set", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: true
|
||||
lookupOnly: true
|
||||
},
|
||||
false
|
||||
);
|
||||
|
||||
@@ -127,7 +127,7 @@ test("restore on GHES with AC available ", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -181,7 +181,7 @@ test("restore with too many keys should fail", async () => {
|
||||
key,
|
||||
restoreKeys,
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -207,7 +207,7 @@ test("restore with large key should fail", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -233,7 +233,7 @@ test("restore with invalid key should fail", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -268,7 +268,7 @@ test("restore with no cache found", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -309,7 +309,7 @@ test("restore with restore keys and no cache found", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -349,7 +349,7 @@ test("restore with cache found for key", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -391,7 +391,7 @@ test("restore with cache found for restore key", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
||||
@@ -80,7 +80,7 @@ test("restore with no cache found", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -122,7 +122,7 @@ test("restore with restore keys and no cache found", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -161,7 +161,7 @@ test("restore with cache found for key", async () => {
|
||||
key,
|
||||
[],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
@@ -204,7 +204,7 @@ test("restore with cache found for restore key", async () => {
|
||||
key,
|
||||
[restoreKey],
|
||||
{
|
||||
dryRun: false
|
||||
lookupOnly: false
|
||||
},
|
||||
false
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user