Step 8.7: Introduce focus-visible
import where needed to repair tests
There is an import in `MatrixChat` which no longer gets executed when we don't skin the entire app, so bring it in manually.
This commit is contained in:
parent
b2b818a780
commit
661b8d595c
3 changed files with 3 additions and 1 deletions
|
@ -19,6 +19,7 @@ import { mount } from 'enzyme';
|
|||
import { Room } from 'matrix-js-sdk/src/matrix';
|
||||
import { mocked } from 'jest-mock';
|
||||
import { act } from 'react-dom/test-utils';
|
||||
import 'focus-visible'; // to fix context menus
|
||||
|
||||
import SpaceContextMenu from '../../../../src/components/views/context_menus/SpaceContextMenu';
|
||||
import MatrixClientContext from '../../../../src/contexts/MatrixClientContext';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue