fix(code-runtime): bound completion measurement

This commit is contained in:
Tianyi Cui
2026-07-22 01:42:41 +08:00
parent 0708bd5ef2
commit bb6709b14a
7 changed files with 24 additions and 15 deletions
@@ -13,7 +13,7 @@ it('boots the source worker without workspace package outputs', async () => {
const directory = await mkdtemp(join(tmpdir(), 'dsh-code-source-worker-'))
let worker: Worker | undefined
try {
const files = ['worker.ts', 'bootstrap.ts', 'protocol.ts', 'worker-json.ts']
const files = ['worker.ts', 'bootstrap.ts', 'protocol.ts', 'worker-json.ts', 'output-json.ts']
await Promise.all(files.map(async (file) => {
await copyFile(new URL(`../src/${file}`, import.meta.url), join(directory, file))
}))