Up-North-Coding/jovian

Write more tests for Api calls

Opened this issue · 0 comments

test for:

  • errors/snackbar displays when network fails to load the request
  • no snackbar on a successful network response (aka, stub out the network response with a successful one)

see it("should show notistack of failed call to api for getBlock", ... test in the dashboard spec