diff --git a/app/javascript/organization/__tests__/OrganizationPicker.test.jsx b/app/javascript/organization/__tests__/OrganizationPicker.test.jsx index 6ad58cd1c..bc29ec7ca 100644 --- a/app/javascript/organization/__tests__/OrganizationPicker.test.jsx +++ b/app/javascript/organization/__tests__/OrganizationPicker.test.jsx @@ -15,11 +15,6 @@ const organizations = [ ]; describe('', () => { - beforeAll(() => { - // TODO: Remove this once https://github.com/nickcolley/jest-axe/issues/147 is fixed. - window.getComputedStyle = () => {}; - }); - it('should have no a11y violations', async () => { const { container } = render( getComputedStyle(elt); + process.on('unhandledRejection', (error) => { // Errors thrown here are typically fetch responses that have not been mocked. throw error;