From ccf364b0de9248ea98ab237bd86cbfc913072634 Mon Sep 17 00:00:00 2001 From: MJ <37147911+ffan0811@users.noreply.github.com> Date: Thu, 27 Jan 2022 02:41:19 +0900 Subject: [PATCH] REMOVE: duplicate key in docs/testing.md (#33681) There is a duplicate key, `testEnvironment` in one of the examples that are located in docs/testing.md. In my humble opinion, It is not good to have an error in examples. My suggestion is we have only one key and it is up to developers what options they have for the `testEnvironment`. ## Documentation / Examples - [x] Make sure the linting passes by running `yarn lint` --- docs/testing.md | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/testing.md b/docs/testing.md index cd9c5239d1507dc..6e1c240d03b13b8 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -341,7 +341,6 @@ module.exports = { '/node_modules/', '^.+\\.module\\.(css|sass|scss)$', ], - testEnvironment: 'jest-environment-jsdom', } ```