Skip to content

Commit 0b269ee

Browse files
committed
chore: update test
1 parent 3c036fc commit 0b269ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ describe('get', () => {
271271
})
272272

273273
test('Throws when an edge URL returns a non-200 status code', async () => {
274-
const errorDetails = 'Missing authorization header'
274+
const errorDetails = 'Failed to decode token: Token expired'
275275
const mockStore = new MockFetch().get({
276276
headers: { authorization: `Bearer ${edgeToken}` },
277277
response: new Response(null, { headers: { [NF_ERROR]: errorDetails }, status: 401 }),

0 commit comments

Comments
 (0)