diff --git a/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts b/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts index 8d6a53ba67dc..105bce3bfad2 100644 --- a/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts +++ b/src/plugins/console/server/routes/api/console/proxy/tests/query_string.test.ts @@ -32,7 +32,7 @@ import { IScopedClusterClient, opensearchDashboardsResponseFactory, } from '../../../../../../../../core/server'; -import { getProxyRouteHandlerDeps, buildBufferedBodyMock } from './mocks'; +import { getProxyRouteHandlerDeps } from './mocks'; import { createHandler } from '../create_handler'; import { coreMock } from '../../../../../../../../core/server/mocks'; @@ -42,7 +42,6 @@ describe('Console Proxy Route', () => { beforeEach(() => { const requestHandlerContextMock = coreMock.createRequestHandlerContext(); opensearchClient = requestHandlerContextMock.opensearch.client; - // buildBufferedBodyMock.mockResolvedValue(Buffer.from('body')); request = async (method: string, path: string) => { const handler = createHandler(getProxyRouteHandlerDeps({})); @@ -64,8 +63,6 @@ describe('Console Proxy Route', () => { describe('contains full url', () => { it('treats the url as a path', async () => { await request('GET', 'http://evil.com/test'); - // const res = opensearchClient.asCurrentUser.transport.request.mock.calls; - // console.log(res); const [[args]] = opensearchClient.asCurrentUser.transport.request.mock.calls; expect(args.path).toBe('/http://evil.com/test?pretty=true'); diff --git a/src/plugins/dev_tools/public/application.tsx b/src/plugins/dev_tools/public/application.tsx index b65ea9021229..29c7321dd231 100644 --- a/src/plugins/dev_tools/public/application.tsx +++ b/src/plugins/dev_tools/public/application.tsx @@ -154,7 +154,7 @@ function DevToolsWrapper({ return (
-
+
@@ -178,8 +178,15 @@ function DevToolsWrapper({ {dataSourceEnabled ? (