Skip to content

Commit ca67bc7

Browse files
committed
Added unittest
1 parent 51e30f7 commit ca67bc7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/v1/integer.test.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,9 @@ describe('Integer', () => {
6565
expect(Integer.MAX_SAFE_VALUE.add(999).toNumberOrInfinity()).toEqual(Number.POSITIVE_INFINITY);
6666
});
6767

68+
it('type is exported', () => {
69+
expect(neo4j.types.Integer).toBeDefined();
70+
expect(neo4j.int(1) instanceof neo4j.types.Integer).toBeTruthy();
71+
});
72+
6873
});

0 commit comments

Comments
 (0)