Skip to content

Commit

Permalink
return empty object on rest 401 test
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-carvalho committed Jan 16, 2024
1 parent 84eb601 commit 3b2c2de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ async function mockRestRequest(status = 401) {

await mockExternalRequest({
request: requestMock,
response: new Response(undefined, {status}),
response: new Response('{}', {status}),
});

return requestMock;
Expand Down

0 comments on commit 3b2c2de

Please sign in to comment.