File tree 3 files changed +7
-0
lines changed
3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,11 @@ module.exports = (sql, driver) => {
162
162
done ( )
163
163
} ) . catch ( done )
164
164
} ,
165
+ 'bigint inputs' ( done ) {
166
+ const req = new TestRequest ( )
167
+ req . input ( 'bigintparam' , BigInt ( '4294967294' ) )
168
+ done ( )
169
+ } ,
165
170
'stored procedure' ( mode , done ) {
166
171
const req = new TestRequest ( )
167
172
req . input ( 'in' , sql . Int , null )
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ describe('msnodesqlv8', function () {
46
46
47
47
it ( 'config validation' , done => TESTS [ 'config validation' ] ( done ) )
48
48
it ( 'value handler' , done => TESTS [ 'value handler' ] ( done ) )
49
+ it ( 'bigint inputs' , done => TESTS [ 'bigint inputs' ] ( done ) )
49
50
it ( 'stored procedure (exec)' , done => TESTS [ 'stored procedure' ] ( 'execute' , done ) )
50
51
it ( 'stored procedure (batch)' , done => TESTS [ 'stored procedure' ] ( 'batch' , done ) )
51
52
it ( 'user defined types' , done => TESTS [ 'user defined types' ] ( done ) )
Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ describe('tedious', () => {
53
53
54
54
it ( 'config validation' , done => TESTS [ 'config validation' ] ( done ) )
55
55
it ( 'value handler' , done => TESTS [ 'value handler' ] ( done ) )
56
+ it ( 'bigint inputs' , done => TESTS [ 'bigint inputs' ] ( done ) )
56
57
it ( 'stored procedure (exec)' , done => TESTS [ 'stored procedure' ] ( 'execute' , done ) )
57
58
it ( 'stored procedure (batch)' , done => TESTS [ 'stored procedure' ] ( 'batch' , done ) )
58
59
it ( 'user defined types' , done => TESTS [ 'user defined types' ] ( done ) )
You can’t perform that action at this time.
0 commit comments