From 96a92a07493d2ed1d3f3e2f79400286fe3135836 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 18 Oct 2020 19:11:29 +0200 Subject: [PATCH] update --- packages/grid/data-grid/src/DataGrid.test.tsx | 1 - packages/grid/x-grid/src/XGrid.test.tsx | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grid/data-grid/src/DataGrid.test.tsx b/packages/grid/data-grid/src/DataGrid.test.tsx index 8fd645e6b3bce..b348b3d728b0d 100644 --- a/packages/grid/data-grid/src/DataGrid.test.tsx +++ b/packages/grid/data-grid/src/DataGrid.test.tsx @@ -1,4 +1,3 @@ -/* eslint-disable react/forbid-foreign-prop-types */ import * as React from 'react'; import PropTypes from 'prop-types'; // @ts-expect-error need to migrate helpers to TypeScript diff --git a/packages/grid/x-grid/src/XGrid.test.tsx b/packages/grid/x-grid/src/XGrid.test.tsx index cb77a32cf08c4..4cc2ccdf2d59a 100644 --- a/packages/grid/x-grid/src/XGrid.test.tsx +++ b/packages/grid/x-grid/src/XGrid.test.tsx @@ -105,6 +105,7 @@ describe('', () => { }); describe('keyboard', () => { + /* eslint-disable material-ui/disallow-active-element-as-key-event-target */ const KeyboardTest = () => { const data = useData(100, 20); const transformColSizes = (columns) => columns.map((column) => ({ ...column, width: 60 })); @@ -153,6 +154,7 @@ describe('', () => { await raf(); expect(getActiveCell()).to.equal('1-19'); }); + /* eslint-enable material-ui/disallow-active-element-as-key-event-target */ }); it('should resize the width of the columns', async () => {