forked from hyperledger-cacti/cacti
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cactus-core): refactor handle-rest-endpoint-exception.test.ts
This change makes it easier to read and debug some of the assertions of the test case which are a little convoluted due to the usage of the Jest spies. These changes were done as part of another fix but ultimately turned out to be not a factor for that fix and therefore I thought it bess to separate the change out onto it's own PR to make it easier to review. Related to hyperledger-cacti#2966 but this is not the actual fix. Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
- Loading branch information
Showing
1 changed file
with
64 additions
and
54 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