mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-10 08:05:14 +02:00
chore(ingest): verify isolated diff connector migration
This commit is contained in:
parent
2348a737c7
commit
8096028219
2 changed files with 4 additions and 3 deletions
|
|
@ -4,9 +4,9 @@ import { z } from 'zod';
|
|||
import { parsedTargetTableSchema, type ParsedTargetTable } from '../../parsed-target-table.js';
|
||||
import type { MetricflowHostTable } from './semantic-models.js';
|
||||
|
||||
export const METRICFLOW_PROJECTION_CONFIG_FILE = 'sync-config.json';
|
||||
const METRICFLOW_PROJECTION_CONFIG_FILE = 'sync-config.json';
|
||||
|
||||
export const metricflowProjectionConfigSchema = z.object({
|
||||
const metricflowProjectionConfigSchema = z.object({
|
||||
parsedTargetTables: z.record(z.string(), parsedTargetTableSchema).default({}),
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -294,7 +294,8 @@ describe('IngestBundleRunner isolated diff path', () => {
|
|||
expect(trace).not.toContain('shared_worktree_path_enabled');
|
||||
|
||||
const reportCreate = vi.mocked(deps.reports.create).mock.calls.at(-1)?.[0];
|
||||
expect(reportCreate?.body.isolatedDiff).toMatchObject({
|
||||
const reportBody = reportCreate?.body as { isolatedDiff?: unknown } | undefined;
|
||||
expect(reportBody?.isolatedDiff).toMatchObject({
|
||||
enabled: true,
|
||||
acceptedPatches: 1,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue