Skip to content

Commit

Permalink
SNOW-1769573 -Add support for describeOnly
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pmotacki committed Nov 5, 2024
1 parent 25cf8f4 commit 5f327ea
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/integration/testExecute.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,7 @@ describe('Execute test', function () {
if (rows.length > 0) {
const columnsNamesInMetadata = stmt.getColumns().map(cl => cl.getName());
const columnsNames = Object.keys(rows[0]);
assert.equal(JSON.stringify(columnsNamesInMetadata), JSON.stringify(columnsNames));
assert.equal(JSON.stringify(rows), JSON.stringify(expectedReturnedRows));
columnsNames.every((element, index) => assert.strictEqual(element, columnsNamesInMetadata[index]));
}
return err ? reject(err) : resolve(rows);
}
Expand Down

0 comments on commit 5f327ea

Please sign in to comment.