test: reduce wording coupling and prune redundant coverage

This commit is contained in:
morluto committed 2026-11-08 00:01:18 +08:00
1 parent 80427af8cc
commit 1596d6a275
165 files changed
+633 -597

No files matched your search

@@ -196,8 +196,10 @@ describe("TypeScript type-only module links", () => {
[null, "LocalInterface", "LocalInterface", null],
[null, "hiddenFunction", "hiddenFunction", null],
]);
expect(ir.limitations).toContain(
"Compiler options are unavailable; inline type-only imports or re-exports may preserve a module side-effect dependency.",
expect(ir.limitations).toContainEqual(
expect.stringMatching(
/compiler options.*unavailable.*type.only.*side.effect/iu,
),
);
});
});