mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-19 08:28:06 +02:00
refactor: remove legacy ktx compatibility shims (#211)
* refactor: remove legacy ktx compatibility shims * fix: restore overlay collision guidance
This commit is contained in:
parent
a954a29a76
commit
96952fb43c
59 changed files with 294 additions and 342 deletions
|
|
@ -26,6 +26,33 @@ describe('runtime requirement detection', () => {
|
|||
);
|
||||
});
|
||||
|
||||
it('does not treat stale local Looker driver aliases as Looker sources', () => {
|
||||
const config: KtxProjectConfig = {
|
||||
...buildDefaultKtxProjectConfig(),
|
||||
connections: {
|
||||
stale: { driver: 'local_looker' } as never,
|
||||
},
|
||||
};
|
||||
|
||||
expect(resolveProjectRuntimeRequirements(config).features).toEqual([]);
|
||||
expect(
|
||||
resolvePublicIngestRuntimeRequirements({
|
||||
projectDir: '/tmp/project',
|
||||
warnings: [],
|
||||
targets: [
|
||||
{
|
||||
connectionId: 'stale',
|
||||
driver: 'local_looker',
|
||||
operation: 'source-ingest',
|
||||
adapter: 'local_looker',
|
||||
debugCommand: 'ktx ingest stale --debug',
|
||||
steps: ['source-ingest'],
|
||||
},
|
||||
],
|
||||
}).features,
|
||||
).toEqual([]);
|
||||
});
|
||||
|
||||
it('requires core for query-history ingest unless SQL analysis is externally configured', () => {
|
||||
const config: KtxProjectConfig = {
|
||||
...buildDefaultKtxProjectConfig(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue