MCPcopy Create free account
hub / github.com/OpenHands/OpenHands / createAxiosNotFoundErrorObject

Function createAxiosNotFoundErrorObject

frontend/test-utils.tsx:85–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83}
84
85export const createAxiosNotFoundErrorObject = () =>
86 new AxiosError(
87 "Request failed with status code 404",
88 "ERR_BAD_REQUEST",
89 undefined,
90 undefined,
91 {
92 status: 404,
93 statusText: "Not Found",
94 data: { message: "Settings not found" },
95 headers: {},
96 // @ts-expect-error - we only need the response object for this test
97 config: {},
98 },
99 );
100
101export const selectOrganization = async ({
102 orgIndex,

Callers 3

sidebar.test.tsxFile · 0.90
_oh.test.tsxFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected