Skip to content

Commit

Permalink
fix skipped test of prettify.cy.ts (#3734)
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina authored Aug 15, 2024
1 parent 9aef83a commit 640b44f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql/cypress/e2e/prettify.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 640b44f

Please sign in to comment.