Skip to content

Commit 1ab2a48

Browse files
committed
fix
1 parent da3ecc5 commit 1ab2a48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/nodejs/tests/binding.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ Then("Select types should be expected native types", async function () {
142142
// TIMESTAMP
143143
{
144144
const row = await this.conn.queryRow(
145-
"SELECT to_datetime('2020-01-01 12:34:56.789'), to_datetime('2020-01-02 12:34:56.789')",
145+
"settings(timezone='Asia/Shanghai') SELECT to_datetime('2020-01-01 12:34:56.789'), to_datetime('2020-01-02 12:34:56.789')",
146146
);
147147
assert.deepEqual(row.values(), [new Date("2020-01-01T04:34:56.789Z"), new Date("2020-01-02T04:34:56.789Z")]);
148148
}

0 commit comments

Comments
 (0)