diff --git a/docs/react/use-with-create-react-app.en-US.md b/docs/react/use-with-create-react-app.en-US.md index 84319a6f86..8a9f44f464 100644 --- a/docs/react/use-with-create-react-app.en-US.md +++ b/docs/react/use-with-create-react-app.en-US.md @@ -114,8 +114,8 @@ $ yarn add react-app-rewired + "start": "react-app-rewired start", - "build": "react-scripts build", + "build": "react-app-rewired build", -- "test": "react-scripts test --env=jsdom", -+ "test": "react-app-rewired test --env=jsdom", +- "test": "react-scripts test", ++ "test": "react-app-rewired test", } ``` diff --git a/docs/react/use-with-create-react-app.zh-CN.md b/docs/react/use-with-create-react-app.zh-CN.md index 16ff7247f8..61d8917481 100644 --- a/docs/react/use-with-create-react-app.zh-CN.md +++ b/docs/react/use-with-create-react-app.zh-CN.md @@ -111,8 +111,8 @@ $ yarn add react-app-rewired + "start": "react-app-rewired start", - "build": "react-scripts build", + "build": "react-app-rewired build", -- "test": "react-scripts test --env=jsdom", -+ "test": "react-app-rewired test --env=jsdom", +- "test": "react-scripts test", ++ "test": "react-app-rewired test", } ```