Skip to content

Commit de76b9c

Browse files
committed
reduce diff, don't modify existing tests
1 parent 97f0ab1 commit de76b9c

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/utilities/__tests__/astFromValue-test.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ describe('astFromValue', () => {
4141
value: false,
4242
});
4343

44-
expect(astFromValue(1n, GraphQLBoolean)).to.deep.equal({
44+
expect(astFromValue(1, GraphQLBoolean)).to.deep.equal({
4545
kind: 'BooleanValue',
4646
value: true,
4747
});
@@ -51,6 +51,11 @@ describe('astFromValue', () => {
5151
value: false,
5252
});
5353

54+
expect(astFromValue(1n, GraphQLBoolean)).to.deep.equal({
55+
kind: 'BooleanValue',
56+
value: true,
57+
});
58+
5459
const NonNullBoolean = new GraphQLNonNull(GraphQLBoolean);
5560
expect(astFromValue(0, NonNullBoolean)).to.deep.equal({
5661
kind: 'BooleanValue',

0 commit comments

Comments
 (0)