Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
pelletier197 committed Dec 10, 2022
1 parent 1b26cfa commit e3d1119
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { convert } from '../../src/schema/convert'
import { describe, expect, it } from 'vitest'
import { buildClientSchema, buildSchema, IntrospectionQuery } from 'graphql'
import { getSample } from './utils'
import fs from 'fs'

const sdl = getSample('sdl.graphqls')
const introspection = getSample('introspection.json')
Expand Down Expand Up @@ -39,11 +38,6 @@ describe('converting a schema', () => {
expect(converted).toContain('test: String!')
expect(converted).toContain('@Auth(scopes: ["test"])')
})

it('test-quick', () => {
const schema = buildSchema(getSample('test-quick.graphqls'))
fs.writeFileSync('test-quick-out.graphqls', convert(schema, 'sdl'))
})
})

function removeEmptyLines(str: string): string {
Expand Down

0 comments on commit e3d1119

Please sign in to comment.