Skip to content

Commit fe72de8

Browse files
fix tests
1 parent 87a302a commit fe72de8

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/graphiql/src/components/__tests__/GraphiQL.spec.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ describe('GraphiQL', () => {
387387
expect(
388388
container.querySelector('.graphiql-container'),
389389
).toBeInTheDocument();
390-
expect(container.querySelector('.title')).toBeInTheDocument();
390+
expect(container.querySelector('.graphiql-logo')).toBeInTheDocument();
391391
expect(getByRole('toolbar')).toBeInTheDocument();
392392
});
393393

@@ -401,7 +401,7 @@ describe('GraphiQL', () => {
401401
expect(
402402
container.querySelector('.graphiql-container'),
403403
).toBeInTheDocument();
404-
expect(container.querySelector('.title')).toBeInTheDocument();
404+
expect(container.querySelector('.graphiql-logo')).toBeInTheDocument();
405405
expect(getByRole('toolbar')).toBeInTheDocument();
406406
});
407407

@@ -421,7 +421,7 @@ describe('GraphiQL', () => {
421421
expect(
422422
container.querySelector('.graphiql-container'),
423423
).toBeInTheDocument();
424-
expect(container.querySelector('.title')).toBeInTheDocument();
424+
expect(container.querySelector('.graphiql-logo')).toBeInTheDocument();
425425
expect(getByRole('toolbar')).toBeInTheDocument();
426426
});
427427

0 commit comments

Comments
 (0)