prosopo/provider

Create JS tests for contract functions

Closed this issue · 0 comments

Test functions in provider/src/tasks/tasks.ts by porting and upgrading tests from protocol/tests/prosopo.test.ts. Place the tests in provider/tests/tasks/tasks.test.ts

Linked issues need tested from JS perspective.

  • Provider can stake tokens #3
  • Provider can unlock staked tokens, deactivating service #4
  • Provider can update service origin and/or fee #13
  • Active Provider can register data set on blockchain #6
  • Register Provider contact details, service origin, fee, and optionally stake #1