-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mock proposals API instead of GovernanceCanister in NnsProposals.spec…
….ts (#5399) # Motivation We normally mock the API layer unless we are testing the API. `NnsProposals.spec.ts` was mocking the canister and even had a TODO not to do that. # Changes Mock `proposalsApi.queryProposals` instead of `GovernanceCanister`. # Tests Test only change. # Todos - [ ] Add entry to changelog (if necessary). not necessary
- Loading branch information
Showing
1 changed file
with
3 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters