Commit aa57262f authored by Fabrizio Cucci's avatar Fabrizio Cucci Committed by Joe Haddad
Browse files

Fix typo in 'Configuring the Proxy Manually' (#5193)

Replace `src/setupTests.js` with `src/setupProxy.js`.
parent 2afcd4fd
Showing with 1 addition and 1 deletion
+1 -1
......@@ -1118,7 +1118,7 @@ We don’t recommend this approach.
If the `proxy` option is **not** flexible enough for you, you can get direct access to the Express app instance and hook up your own proxy middleware.
You can use this feature in conjunction with the `proxy` property in `package.json`, but it is recommended you consolidate all of your logic into `src/setupTests.js`.
You can use this feature in conjunction with the `proxy` property in `package.json`, but it is recommended you consolidate all of your logic into `src/setupProxy.js`.
First, install `http-proxy-middleware` using npm or Yarn:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment