We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19f94ad commit 9172636Copy full SHA for 9172636
packages/graphiql/src/components/__tests__/GraphiQL.spec.tsx
@@ -239,6 +239,18 @@ describe('GraphiQL', () => {
239
});
240
241
242
+ it('correctly displays extensions editor when using defaultEditorToolsVisibility prop', async () => {
243
+ const { container } = render(
244
+ <GraphiQL
245
+ fetcher={noOpFetcher}
246
+ defaultEditorToolsVisibility="extensions"
247
+ />,
248
+ );
249
+ await waitFor(() => {
250
+ expect(container.querySelector('[aria-label="Extensions"]')).toBeVisible();
251
+ });
252
253
+
254
it('correctly displays headers editor when using defaultEditorToolsVisibility prop', async () => {
255
const { container } = render(
256
<GraphiQL
0 commit comments