mirror of
https://github.com/morluto/rea.git
synced 2026-12-06 15:33:56 +08:00
test(clients): assert the scoped catalog mismatch
This commit is contained in:
@@ -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",
|
||||
);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user