Skip to content

Commit

Permalink
Fix test names
Browse files Browse the repository at this point in the history
  • Loading branch information
diehuxx committed Mar 31, 2024
1 parent 56350ae commit cedcc27
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/protocol/tests/rfq.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ describe('Rfq', () => {
})


it('throws if Rfq.privateData.payin.paymentDetails is missing but Rfq.data.payin.paymentDetailsHash is present', async () => {
it('throws if Rfq.privateData.payin.paymentDetails is incorrect but Rfq.data.payin.paymentDetailsHash is present', async () => {
const aliceDid = await DidJwk.create()
const rfq = Rfq.create({
metadata : { from: aliceDid.uri, to: 'did:ex:pfi' },
Expand All @@ -187,7 +187,7 @@ describe('Rfq', () => {
}
})

it('throws if Rfq.privateData.payout.paymentDetails is missing but Rfq.data.payout.paymentDetailsHash is present', async () => {
it('throws if Rfq.privateData.payout.paymentDetails is incorrect but Rfq.data.payout.paymentDetailsHash is present', async () => {
const aliceDid = await DidJwk.create()
const rfq = Rfq.create({
metadata : { from: aliceDid.uri, to: 'did:ex:pfi' },
Expand All @@ -206,7 +206,7 @@ describe('Rfq', () => {
}
})

it('throws if Rfq.privateData.claims is missing but Rfq.data.claimsHash is present', async () => {
it('throws if Rfq.privateData.claims is incorrect but Rfq.data.claimsHash is present', async () => {
const aliceDid = await DidJwk.create()
const rfq = Rfq.create({
metadata : { from: aliceDid.uri, to: 'did:ex:pfi' },
Expand Down

0 comments on commit cedcc27

Please sign in to comment.