Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Feb 13, 2024
1 parent b218eff commit 95b6fbc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/authz/src/shared/__test__/unit/opa.utils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
ERC1155TransfersCriterion,
IntentAmountCriterion,
NonceRequiredCriterion,
Policy,
Then,
WalletAddressCriterion
} from '../../types/policy.type'
Expand Down Expand Up @@ -70,7 +69,8 @@ describe('criterionToString', () => {

describe('reasonToString', () => {
it('returns reason for PERMIT rules', () => {
const item: Policy = {
const item = {
id: '12345',
then: Then.PERMIT,
name: 'policyId',
when: []
Expand All @@ -81,7 +81,8 @@ describe('reasonToString', () => {
})

it('returns reason for FORBID rules', () => {
const item: Policy = {
const item = {
id: '12345',
then: Then.FORBID,
name: 'policyId',
when: []
Expand Down

0 comments on commit 95b6fbc

Please sign in to comment.