Skip to content

Commit

Permalink
test fix 2
Browse files Browse the repository at this point in the history
  • Loading branch information
vasilev-alex committed Apr 19, 2024
1 parent 4fdbf4b commit e8fdcfc
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ export function incrementalSchemaLoadingSuite(
const columnsForTables = await driver().getColumnsForSpecificTables(inputTables);
expect(columnsForTables).toBeInstanceOf(Array);
expect(columnsForTables.length).toBeGreaterThan(0);
expect(columnsForTables).toContainEqual({
schema_name: expect.any(String),
table_name: expect.any(String),
column_name: expect.any(String),
data_type: expect.any(String),
foreign_keys: expect.anything(),

columnsForTables.forEach((it) => {
expect(it.schema_name).toEqual(expect.any(String));
expect(it.table_name).toEqual(expect.any(String));
expect(it.column_name).toEqual(expect.any(String));
expect(it.data_type).toEqual(expect.any(String));
});
});
}
Expand Down

0 comments on commit e8fdcfc

Please sign in to comment.