text: // add some helpful assertions
  import 'jest-dom/extend-expect';
  
  // this is basically: afterEach(cleanup)
  // import 'react-testing-library/cleanup-after-each'; // try this
  import '@testing-library/react/cleanup-after-each';
  
  // this is just a little hack to silence a warning that we'll get until react
  // fixes this: https://github.com/facebook/react/pull/14853
  const originalError = console.error
  beforeAll(() => {
    console.error = (...args) => {
      if (/Warning.*not wrapped in act/.test(args[0])) {
        return
      }
      originalError.call(console, ...args)
    }
  })
  
  afterAll(() => {
    console.error = originalError
  })
  
  