vitess.io/vitess@v0.16.2/web/vtadmin/src/setupTests.ts (about) 1 import '@testing-library/jest-dom'; 2 import { setLogger } from 'react-query'; 3 4 // Suppress network (and "network", i.e., localhost) errors 5 // from being logged to the console during testing. 6 // See https://react-query.tanstack.com/guides/testing 7 setLogger({ 8 log: console.log, 9 warn: console.warn, 10 error: () => {}, 11 });