Skip to content

Commit

Permalink
chore(cubesql): Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
paveltiunov committed Feb 26, 2024
1 parent b79f697 commit f8bf572
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cubejs-backend-native/test/sql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ describe('SQLInterface', () => {
const [result] = await connection.query('select CAST(\'2020-12-25 22:48:48.000\' AS timestamp)');
console.log(result);

expect(result).toEqual([{ 'TimestampNanosecond(1608936528000000000, None)': '2020-12-25T22:48:48.000' }]);
expect(result).toEqual([{ 'CAST(Utf8("2020-12-25 22:48:48.000") AS Timestamp(Nanosecond, None))': '2020-12-25T22:48:48.000' }]);
}

connection.destroy();
Expand Down

0 comments on commit f8bf572

Please sign in to comment.