Skip to content

Commit

Permalink
Re-arranged test (#1858)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Mar 26, 2024
1 parent a46b687 commit f54d546
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/jsapi-utils/src/TableUtils.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,6 @@ describe('getValueType', () => {
['java.lang.Double', dh.ValueType.NUMBER],
['float', dh.ValueType.NUMBER],
['java.lang.Float', dh.ValueType.NUMBER],
['java.math.BigDecimal', dh.ValueType.STRING],
[TableUtils.dataType.DECIMAL, dh.ValueType.NUMBER],

['int', dh.ValueType.NUMBER],
Expand All @@ -607,8 +606,10 @@ describe('getValueType', () => {
['java.lang.Short', dh.ValueType.NUMBER],
['byte', dh.ValueType.NUMBER],
['java.lang.Byte', dh.ValueType.NUMBER],
['java.math.BigInteger', dh.ValueType.STRING],
[TableUtils.dataType.INT, dh.ValueType.NUMBER],

['java.math.BigDecimal', dh.ValueType.STRING],
['java.math.BigInteger', dh.ValueType.STRING],
])(
'should return the correct value type for columnType: %s, %s',
(columnType, valueType) => {
Expand Down

0 comments on commit f54d546

Please sign in to comment.