perf(plugins): slim boundary canary target

This commit is contained in:
Vincent Koc
2026-04-07 12:50:02 +01:00
parent 7834cc14f0
commit fdc88a753f
3 changed files with 13 additions and 4 deletions

View File

@@ -299,7 +299,7 @@ describe("check-extension-package-tsc-boundary", () => {
[
"--eval",
[
"console.log('src/cli/acp-cli.ts');",
"console.log('src/plugins/contracts/rootdir-boundary-canary.ts');",
"for (let index = 1; index <= 45; index += 1) console.log(`stdout ${index}`);",
"console.error('TS6059');",
"process.exit(2);",
@@ -309,7 +309,7 @@ describe("check-extension-package-tsc-boundary", () => {
),
).rejects.toMatchObject({
message: expect.stringContaining("[... 6 earlier lines omitted ...]"),
fullOutput: expect.stringContaining("src/cli/acp-cli.ts"),
fullOutput: expect.stringContaining("src/plugins/contracts/rootdir-boundary-canary.ts"),
kind: "nonzero-exit",
elapsedMs: expect.any(Number),
});