mirror of
https://github.com/Kaelio/ktx.git
synced 2026-07-04 10:52:13 +02:00
refactor: remove legacy ktx compatibility shims
This commit is contained in:
parent
db09936085
commit
cc071f45b7
59 changed files with 295 additions and 344 deletions
|
|
@ -1878,6 +1878,15 @@ describe('resolveEnabledTables', () => {
|
|||
expect(result!.has(tableRefKey({ catalog: null, db: 'public', name: 'orders' }))).toBe(true);
|
||||
});
|
||||
|
||||
it('ignores legacy enabled_tables object entries', () => {
|
||||
expect(
|
||||
resolveEnabledTables({
|
||||
driver: 'postgres',
|
||||
enabled_tables: [{ catalog: null, db: 'public', name: 'orders' }],
|
||||
}),
|
||||
).toBeNull();
|
||||
});
|
||||
|
||||
it('returns null for undefined connection', () => {
|
||||
expect(resolveEnabledTables(undefined)).toBeNull();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue