File tree Expand file tree Collapse file tree
tests/integration/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments