不要怂,就是干,撸起袖子干!

Commit 2752bf7a by Sushant

test(mssql): assert BIGINT returns as string

1 parent e2bfa3be
Showing with 2 additions and 0 deletions
...@@ -398,7 +398,9 @@ describe(Support.getTestDialectTeaser('DataTypes'), () => { ...@@ -398,7 +398,9 @@ describe(Support.getTestDialectTeaser('DataTypes'), () => {
expect(user.get('decimalWithFloatParser')).to.be.eql('0.12345678'); expect(user.get('decimalWithFloatParser')).to.be.eql('0.12345678');
}); });
}); });
}
if (dialect === 'postgres' || dialect === 'mysql' || dialect === 'mssql') {
it('should parse BIGINT as string', function() { it('should parse BIGINT as string', function() {
const Model = this.sequelize.define('model', { const Model = this.sequelize.define('model', {
jewelPurity: Sequelize.BIGINT jewelPurity: Sequelize.BIGINT
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!