Remove unused DbRefreshStateRow import and logger declaration

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2026-05-19 22:38:52 +02:00
parent 7bab21f1ef
commit b8731fc82b
2 changed files with 1 additions and 7 deletions
@@ -315,8 +315,6 @@ it.each(databases.eachSupportedId())(
describe.each(databases.eachSupportedId())(
'performStitching edge cases, %p',
databaseId => {
const logger = mockServices.logger.mock();
it('stitches when final_entities row already exists', async () => {
const knex = await databases.init(databaseId);
await applyDatabaseMigrations(knex);
@@ -26,11 +26,7 @@ import { SerializedError } from '@backstage/errors';
import { Knex } from 'knex';
import { createHash } from 'node:crypto';
import stableStringify from 'fast-json-stable-stringify';
import {
DbFinalEntitiesRow,
DbRefreshStateRow,
DbStitchQueueRow,
} from '../../tables';
import { DbFinalEntitiesRow, DbStitchQueueRow } from '../../tables';
import { buildEntitySearch } from './buildEntitySearch';
import { markDeferredStitchCompleted } from './markDeferredStitchCompleted';
import { syncSearchRows } from './syncSearchRows';