Skip to content

Commit

Permalink
assert length
Browse files Browse the repository at this point in the history
  • Loading branch information
mojotalantikite committed Apr 8, 2024
1 parent ec9bbc0 commit c6ef2c9
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions services/app-api/src/resolvers/contract/submitContract.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,25 +477,15 @@ describe('submitContract', () => {
],
})

await submitTestContract(
const S4 = await submitTestContract(
stateServer,
unlockedS3.id,
'Added the new document'
)

expect(S4.packageSubmissions).toHaveLength(3) // we have contract revision 3

// TODO: Unlock RateB and unlink RateA
/*
const rateB = S4.packageSubmissions
console.info(JSON.stringify(rateB))
const unlockRateBRes = await cmsServer.executeOperation({
query: UNLOCK_RATE,
variables: {
input: {
rateID: rateB.id,
unlockedReason: 'Unlocking Rate A for update',
},
},
})
*/
// TODO: Update & Resubmit Rate B.2
})
})

0 comments on commit c6ef2c9

Please sign in to comment.