diff --git a/packages/graphiql/cypress/e2e/prettify.cy.ts b/packages/graphiql/cypress/e2e/prettify.cy.ts index d82fd5c50b..6e2224f28d 100644 --- a/packages/graphiql/cypress/e2e/prettify.cy.ts +++ b/packages/graphiql/cypress/e2e/prettify.cy.ts @@ -2,7 +2,7 @@ import { version } from 'graphql'; let describeOrSkip = describe.skip; // hard to account for the extra \n between 15/16 so these only run for 16 for now -if (version.includes('16')) { +if (parseInt(version, 10) > 15) { describeOrSkip = describe; }