(input: Partial<PermissionV2.AssertInput> = {})
| 76 | } |
| 77 | |
| 78 | function assertion(input: Partial<PermissionV2.AssertInput> = {}) { |
| 79 | return { |
| 80 | id: PermissionV2.ID.create("per_test"), |
| 81 | sessionID: SessionV2.ID.make("ses_test"), |
| 82 | action: "read", |
| 83 | resources: ["src/index.ts"], |
| 84 | ...input, |
| 85 | } satisfies PermissionV2.AssertInput |
| 86 | } |
| 87 | |
| 88 | function waitForRequest() { |
| 89 | return Effect.gen(function* () { |
no test coverage detected