Skip to content
Snippets Groups Projects
Select Git revision
  • 542b2d5a25154ea584c489466b7616745f186a38
  • master default protected
2 results

setupTests.js

Blame
  • setupTests.js 228 B
    // See https://testing-library.com/docs/dom-testing-library/api-queries.
    
    // See also https://github.com/testing-library/jest-dom.
    import '@testing-library/jest-dom/extend-expect';
    
    afterEach(() => {
      jest.clearAllMocks();
    });