Skip to content

Commit 7c0c275

Browse files
authored
chore: removed netlify graph token from test (#179)
1 parent bee9ce2 commit 7c0c275

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

test/index.test.ts

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,7 @@ test('source image cache pruning', async (t) => {
6262
multiValueQueryStringParameters: {},
6363
multiValueHeaders: {},
6464
isBase64Encoded: false,
65-
body: null,
66-
netlifyGraphToken: undefined
65+
body: null
6766
},
6867
{
6968
functionName: 'ipx',
@@ -75,17 +74,16 @@ test('source image cache pruning', async (t) => {
7574
logStreamName: '',
7675
memoryLimitInMB: '',
7776
getRemainingTimeInMillis: () => 1000,
78-
done: () => {},
79-
fail: () => {},
80-
succeed: () => {}
77+
done: () => { },
78+
fail: () => { },
79+
succeed: () => { }
8180
}
8281
)
8382
if (response) {
8483
t.is(response.statusCode, 200)
8584
}
8685
}
8786

88-
8987
const cacheSize = readdirSync(join(cacheDir, 'cache')).reduce((acc, filename) => {
9088
const { size } = statSync(join(cacheDir, 'cache', filename))
9189
return acc + size

0 commit comments

Comments
 (0)