Fixed Error: Not implemented: window.computedStyle(elt, pseudoElt) console error in frontend tests. (#11633)
This commit is contained in:
parent
d623157eee
commit
6feb2351e7
1 changed files with 5 additions and 0 deletions
|
|
@ -15,6 +15,11 @@ const organizations = [
|
|||
];
|
||||
|
||||
describe('<OrganizationPicker />', () => {
|
||||
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(
|
||||
<OrganizationPicker
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue