From 4098f916c81560a098cf3a2c3ed97f4f958551e6 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Sun, 29 Dec 2019 01:09:57 +0100 Subject: [PATCH] [test] Use strict mode as much as possible --- packages/material-ui-utils/src/elementAcceptingRef.test.js | 2 +- packages/material-ui-utils/src/elementTypeAcceptingRef.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/material-ui-utils/src/elementAcceptingRef.test.js b/packages/material-ui-utils/src/elementAcceptingRef.test.js index 2fb4053c2016af..d0994ce2f18429 100644 --- a/packages/material-ui-utils/src/elementAcceptingRef.test.js +++ b/packages/material-ui-utils/src/elementAcceptingRef.test.js @@ -20,7 +20,7 @@ describe('elementAcceptingRef', () => { } before(() => { - mount = createMount(); + mount = createMount({ strict: true }); }); after(() => { diff --git a/packages/material-ui-utils/src/elementTypeAcceptingRef.test.js b/packages/material-ui-utils/src/elementTypeAcceptingRef.test.js index 0b6a7039c40111..da8f7c8328dac6 100644 --- a/packages/material-ui-utils/src/elementTypeAcceptingRef.test.js +++ b/packages/material-ui-utils/src/elementTypeAcceptingRef.test.js @@ -20,7 +20,7 @@ describe('elementTypeAcceptingRef', () => { } before(() => { - mount = createMount(); + mount = createMount({ strict: true }); }); after(() => {