We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a590218 commit c402146Copy full SHA for c402146
src/tests/utils/sqlOnFhir.ts
@@ -95,7 +95,8 @@ export function compareResults(
95
if (expectedColumns && expectedColumns.length > 0) {
96
// Use actualColumns from SQL metadata if provided, otherwise fall back to Object.keys
97
const columnsToCheck =
98
- actualColumns || (actualResults.length > 0 ? Object.keys(actualResults[0]) : []);
+ actualColumns ||
99
+ (actualResults.length > 0 ? Object.keys(actualResults[0]) : []);
100
if (!arraysEqual(columnsToCheck, expectedColumns)) {
101
console.log("Column mismatch:");
102
console.log(" Expected:", expectedColumns);
0 commit comments