Skip to content

Commit

Permalink
chore: tidy double function
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Nov 20, 2024
1 parent 65dfe4e commit 2299e33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/extensions/Throws/Throws.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { schema } from '../../../tests/_/schemas/kitchen-sink/schema.js'
import { Throws } from './Throws.js'

const graffle = Graffle.create({ schema }).use(Throws()).with({ output: { errors: { execution: `return` } } }).throws()
.throws()

test(`.gql() throws if errors array non-empty`, async () => {
await expect(graffle.gql`query { foo }`.send()).rejects.toMatchInlineSnapshot(
Expand Down

0 comments on commit 2299e33

Please sign in to comment.