Skip to content

Commit 06c8a9c

Browse files
fix(content-picker): update HttpResponse format in withError test
Co-Authored-By: [email protected] <[email protected]>
1 parent 37d63c8 commit 06c8a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/elements/content-picker/stories/tests/ContentPicker-visual.stories.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export const withError = {
154154
msw: {
155155
handlers: [
156156
http.get(`${DEFAULT_HOSTNAME_API}/2.0/folders/69083462919`, () => {
157-
return HttpResponse.json({}, { status: 500 });
157+
return new HttpResponse('Internal Server Error', { status: 500 });
158158
}),
159159
],
160160
},

0 commit comments

Comments
 (0)