(context: TenantPolicyContext, event: string)
| 21 | } |
| 22 | |
| 23 | const observe = (context: TenantPolicyContext, event: string) => { |
| 24 | context.observed.push(`${context.marker}:${event}`); |
| 25 | }; |
| 26 | |
| 27 | const assertTenantAllowed = (tableName: string, context: TenantPolicyContext, tenantId: string) => { |
| 28 | observe(context, `${tableName}:assert`); |
no test coverage detected