Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion packages/graphiql/src/GraphiQL.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ describe('GraphiQL', () => {
}); // schema

describe('default query', () => {
// First test to boot Monaco's editor worker; cold start needs extra time under Vitest 4's forks pool.
it('defaults to the built-in default query', async () => {
const { container } = render(<GraphiQL fetcher={noOpFetcher} />);

Expand All @@ -177,7 +178,7 @@ describe('GraphiQL', () => {
expect(queryEditor).toBeVisible();
expect(queryEditor!.textContent).toBe('# Welcome to GraphiQL');
});
});
}, 20000);

it('accepts a custom default query', async () => {
const { container } = render(
Expand Down
Loading