Skip to content

Commit

Permalink
Fix evaluation util spec (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcalderipe authored Mar 29, 2024
1 parent a4b22b9 commit daa0bf9
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@ import { toData, toInput } from '../../evaluation.util'

describe('toInput', () => {
it('throws OpenPolicyAgentException when action is unsupported', () => {
const evaluation: Partial<EvaluationRequest> = {
const evaluation = {
request: {
action: Action.SIGN_TYPED_DATA,
nonce: 'test-nonce',
resourceId: 'test-resource-id',
typedData: 'test-typed-data'
action: 'UNSUPPORTED ACTION'
}
}

Expand Down

0 comments on commit daa0bf9

Please sign in to comment.