mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
test: close unified ingest v1 expectations
This commit is contained in:
parent
23dba892cd
commit
1180fffdeb
9 changed files with 48 additions and 20 deletions
|
|
@ -1438,8 +1438,14 @@ describe('setup databases step', () => {
|
|||
},
|
||||
});
|
||||
expect(config.connections.warehouse.historicSql).toBeUndefined();
|
||||
expect(config.connections.warehouse.context?.queryHistory).not.toHaveProperty('windowDays');
|
||||
expect(config.connections.warehouse.context?.queryHistory).not.toHaveProperty('redactionPatterns');
|
||||
const warehouseContext =
|
||||
config.connections.warehouse.context &&
|
||||
typeof config.connections.warehouse.context === 'object' &&
|
||||
!Array.isArray(config.connections.warehouse.context)
|
||||
? (config.connections.warehouse.context as Record<string, unknown>)
|
||||
: {};
|
||||
expect(warehouseContext.queryHistory).not.toHaveProperty('windowDays');
|
||||
expect(warehouseContext.queryHistory).not.toHaveProperty('redactionPatterns');
|
||||
expect(configText).not.toContain('live-database');
|
||||
expect(configText).not.toContain('historic-sql');
|
||||
expect(configText).not.toMatch(/^\s+adapters:/m);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue