Skip to content

Commit 18be64b

Browse files
author
Sosuke Suzuki
committed
Fix lint
1 parent d653fe1 commit 18be64b

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

tests/integration/__tests__/cache.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ describe("--cache option", () => {
9595
listDifferent: false,
9696
trailingCommaAll: false,
9797
}
98-
) => {
99-
return [
98+
) =>
99+
[
100100
"--cache",
101101
"--cache-strategy",
102102
strategy,
@@ -106,7 +106,6 @@ describe("--cache option", () => {
106106
trailingCommaAll && "all",
107107
".",
108108
].filter(Boolean);
109-
};
110109

111110
describe("--cache-strategy metadata", () => {
112111
const getCliArguments = createGetCliArguments("metadata");
@@ -471,15 +470,14 @@ describe("--cache option", () => {
471470
describe("--cache-location", () => {
472471
const getCliArguments = (
473472
{ write, cacheLocation } = { write: false, cacheLocation: undefined }
474-
) => {
475-
return [
473+
) =>
474+
[
476475
"--cache",
477476
write && "--write",
478477
cacheLocation && "--cache-location",
479478
cacheLocation,
480479
".",
481480
].filter(Boolean);
482-
};
483481

484482
it("doesn't create default cache file when `--cache-location` exists", async () => {
485483
await expect(fs.stat(defaultCacheFile)).rejects.toHaveProperty(

0 commit comments

Comments
 (0)