Whitespace adjustments in JSON Relational Duality and Fetch Type Handler Tests

This commit is contained in:
Sharad Chandran R 2023-05-03 21:14:32 +05:30
parent 8e43b9cabf
commit 310203de4e
1 changed files with 7 additions and 7 deletions

View File

@ -467,13 +467,13 @@ describe('271. fetchTypeHandler.js', function() {
await connection.execute(`INSERT INTO ${TABLE} values (01, 'ABC', 23,
TO_TIMESTAMP('2023-04-27 10:30:00', 'YYYY-MM-DD HH24:MI:SS'))`);
const result = await connection.execute(`
SELECT id, name, age,
created_date AS TS_DATE FROM ${TABLE}`,
[],
{
outFormat: oracledb.OUT_FORMAT_OBJECT
}
const result = await connection.execute(
`SELECT id, name, age,
created_date AS TS_DATE FROM ${TABLE}`,
[],
{
outFormat: oracledb.OUT_FORMAT_OBJECT
}
);
assert.deepEqual(Object.getOwnPropertyNames(result.rows[0]), ["ID", "NAME", "AGE", "TS_DATE"]);