dwn-sdk-js
dwn-sdk-js copied to clipboard
Make `DidIonResolver` tests work if network is unavailable
DidIonResolver
depends on calling an external API endpoint. When the network is not available, these tests fail.
There was some code around stubbing fetch
but this failed for Browser tests with the following error:
Can only call Window.fetch on instances of Window
.