refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@wrnexus/authz",
|
||||
"version": "0.8.8",
|
||||
"version": "0.8.9",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"main": "src/index.ts",
|
||||
|
||||
@@ -79,7 +79,7 @@ describe("end-to-end authorization", () => {
|
||||
expect(await can(guest, "post:write")).toBe(false);
|
||||
|
||||
// Only denials were audited, and only alice's requests used the resolver
|
||||
// that was wired to this audit sink.
|
||||
// that was connected to this audit sink.
|
||||
expect(audit.events.length).toBeGreaterThan(0);
|
||||
expect(audit.events.every((event) => !event.allowed)).toBe(true);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user