From b1e96581c2bd9180b478806a1f6d3fb8381c854c Mon Sep 17 00:00:00 2001 From: Sergey Zhigunov Date: Mon, 6 Jul 2020 16:07:43 +0300 Subject: [PATCH] [Docs] Update setupFilesAfterEnv usage example According to Jest documentation, https://jestjs.io/docs/en/configuration#setupfilesafterenv-array is now of type array. --- docs/guides/react-native.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/react-native.md b/docs/guides/react-native.md index b78eef5cd..bca37528f 100644 --- a/docs/guides/react-native.md +++ b/docs/guides/react-native.md @@ -61,7 +61,7 @@ Create or update a `jest.config.js` file at the root of your project to include module.exports = { // Load setup-tests.js before test execution - setupFilesAfterEnv: 'setup-tests.js', + setupFilesAfterEnv: ['setup-tests.js'], // ... };