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