diff --git a/packages/e2e-test-utils/src/shared/get-json-response.js b/packages/e2e-test-utils/src/shared/get-json-response.js index 4d8581129de79..c09d6f3a18662 100644 --- a/packages/e2e-test-utils/src/shared/get-json-response.js +++ b/packages/e2e-test-utils/src/shared/get-json-response.js @@ -6,7 +6,7 @@ */ export function getJSONResponse( obj ) { return { - content: 'application/json', + contentType: 'application/json', body: JSON.stringify( obj ), }; }