Closed S4mmyb closed 2 years ago
Hey team! Please add your planning poker estimate with ZenHub @haveanicedavid @mhagel @victordelval
When updating the regen-js api package (0.2.1), I get the following error when updating the tests in the web-registry subdirectory (...regen-web/web-registry$ yarn test- update-snapshot)
more details, importing RegenApi in ledger.tsx https://github.com/regen-network/regen-web/runs/5489407065?check_suite_focus=true
Marie response
the @regen-network/api package is now built as an ecmascript module because of some changes in the typescript config in regen-js, which Jest only has experimental support for.
I’ll need to revert this back but this might deserve its own issue
Upgrade Regen JS to latest version (v0.2.2) in web-registry
The API has been changed:
api.connection.queryConnection
->api.queryClient
$type
field so we might just need to create a custom type instead for representing the REST query response