We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97f0ab1 commit de76b9cCopy full SHA for de76b9c
src/utilities/__tests__/astFromValue-test.ts
@@ -41,7 +41,7 @@ describe('astFromValue', () => {
41
value: false,
42
});
43
44
- expect(astFromValue(1n, GraphQLBoolean)).to.deep.equal({
+ expect(astFromValue(1, GraphQLBoolean)).to.deep.equal({
45
kind: 'BooleanValue',
46
value: true,
47
@@ -51,6 +51,11 @@ describe('astFromValue', () => {
51
52
53
54
+ expect(astFromValue(1n, GraphQLBoolean)).to.deep.equal({
55
+ kind: 'BooleanValue',
56
+ value: true,
57
+ });
58
+
59
const NonNullBoolean = new GraphQLNonNull(GraphQLBoolean);
60
expect(astFromValue(0, NonNullBoolean)).to.deep.equal({
61
0 commit comments