Skip to content

Commit 62f92fe

Browse files
committed
add failing test
1 parent e78d663 commit 62f92fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/type/__tests__/scalars-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ describe('Type System: Specified scalar types', () => {
192192
expect(parseValue(-1)).to.equal(-1);
193193
expect(parseValue(0.1)).to.equal(0.1);
194194
expect(parseValue(Math.PI)).to.equal(Math.PI);
195+
expect(parseValue(1n)).to.equal(1);
195196

196197
expect(() => parseValue(NaN)).to.throw(
197198
'Float cannot represent non numeric value: NaN',

0 commit comments

Comments
 (0)