vegaprotocol / frontend-monorepo

Toolkit for building apps that interact with Vega
https://vega.xyz
MIT License
21 stars 14 forks source link

Explorer: fix tests missing mocks #6338

Open edd opened 2 weeks ago

edd commented 2 weeks ago

Description

The unit test output for explorer is noisy, mostly due to nested queries not being mocked in unit tests. The tests pass, because the mocked queries are irrelevant - but the output is hard to read

Steps to Reproduce

  1. yarn nx run explorer:test

Expected behavior

Tests should pass silently, or fail noisly. Passing noisly is a pain