From e39ec031df818ef36f656e045145893b73e7577b Mon Sep 17 00:00:00 2001 From: Aelitta Ezugbaya Date: Mon, 11 Dec 2023 21:35:38 +0200 Subject: [PATCH] value should null for noContent in context also --- test/fetch-adapter/fetch-adapter.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/fetch-adapter/fetch-adapter.spec.ts b/test/fetch-adapter/fetch-adapter.spec.ts index 347e6460..6a0c3627 100644 --- a/test/fetch-adapter/fetch-adapter.spec.ts +++ b/test/fetch-adapter/fetch-adapter.spec.ts @@ -207,7 +207,7 @@ describe('fetch adapter', () => { expect(receivedContext.headers).toEqual(null); expect(receivedContext.body).toEqual({ contentType: runtime.noContentContentType, - value: { one: 'the loneliest number' } + value: null }); }); });