diff --git a/client/electron/test/commit-hygiene.test.mjs b/client/electron/test/commit-hygiene.test.mjs index 7a74fec..ab88598 100644 --- a/client/electron/test/commit-hygiene.test.mjs +++ b/client/electron/test/commit-hygiene.test.mjs @@ -20,6 +20,7 @@ import { test } from 'node:test'; import assert from 'node:assert/strict'; import { spawnSync } from 'node:child_process'; import { dirname, join } from 'node:path'; +import { prose } from './lib/read.mjs'; import { fileURLToPath } from 'node:url'; const HERE = dirname(fileURLToPath(import.meta.url)); @@ -163,7 +164,6 @@ test('自检:分类逻辑对合成输入有分辨力(否则这条判据可 * 所以 **不**在这里假装比对 —— 只把"能测的那笔"钉住。) */ export async function debtLedgerStaticMatches() { - const { prose } = await import('./lib/read.mjs'); const src = prose(join(HERE, 'run-all.mjs')); const registered = JSON.parse(prose(join(HERE, '..', '..', '..', 'docs', 'DEBTS.json'))) .debts.find(d => d.id === 'static-criteria').count;