test(clients): assert the scoped catalog mismatch

This commit is contained in:
Vincent Koc
2026-12-02 13:48:07 +08:00
parent 71eeaf584f
commit 4b5a5cfe53
@@ -180,5 +180,7 @@ it("uses the selected contract reader for full and scoped client catalogs", () =
expect(() =>
scoped.assertNames(["analyze_javascript_application"]),
).not.toThrow();
expect(() => scoped.assertNames(["binary_session"])).toThrow();
expect(() => scoped.assertNames(["binary_session"])).toThrow(
"The native client must expose exactly the configured REA catalog",
);
});