(rootValue: unknown)
| 12 | |
| 13 | describe('Execute: Accepts any iterable as list value', () => { |
| 14 | function complete(rootValue: unknown) { |
| 15 | return executeSync({ |
| 16 | schema: buildSchema('type Query { listField: [String] }'), |
| 17 | document: parse('{ listField }'), |
| 18 | rootValue, |
| 19 | }); |
| 20 | } |
| 21 | |
| 22 | it('Accepts a Set as a List value', () => { |
| 23 | const listField = new Set(['apple', 'banana', 'apple', 'coconut']); |
no test coverage detected
searching dependent graphs…