File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,7 @@ test('source image cache pruning', async (t) => {
62
62
multiValueQueryStringParameters : { } ,
63
63
multiValueHeaders : { } ,
64
64
isBase64Encoded : false ,
65
- body : null ,
66
- netlifyGraphToken : undefined
65
+ body : null
67
66
} ,
68
67
{
69
68
functionName : 'ipx' ,
@@ -75,17 +74,16 @@ test('source image cache pruning', async (t) => {
75
74
logStreamName : '' ,
76
75
memoryLimitInMB : '' ,
77
76
getRemainingTimeInMillis : ( ) => 1000 ,
78
- done : ( ) => { } ,
79
- fail : ( ) => { } ,
80
- succeed : ( ) => { }
77
+ done : ( ) => { } ,
78
+ fail : ( ) => { } ,
79
+ succeed : ( ) => { }
81
80
}
82
81
)
83
82
if ( response ) {
84
83
t . is ( response . statusCode , 200 )
85
84
}
86
85
}
87
86
88
-
89
87
const cacheSize = readdirSync ( join ( cacheDir , 'cache' ) ) . reduce ( ( acc , filename ) => {
90
88
const { size } = statSync ( join ( cacheDir , 'cache' , filename ) )
91
89
return acc + size
You can’t perform that action at this time.
0 commit comments