main
md 32 lines 898 Bytes
Rendered Raw
1 # Manual Testing Fixtures
2
3 This folder exists for **React contributors** only.
4 If you use React, you don't need to worry about it.
5
6 These fixtures verify that the built React distributions are usable in different environments.
7 **They are not running automatically.** (At least not yet. Feel free to contribute to automate them.)
8
9 Run them when you make changes to how we package React and ReactDOM.
10
11 ## How to Run
12
13 First, build React and the fixtures:
14
15 ```
16 cd react
17 npm run build
18 node fixtures/packaging/build-all.js
19 ```
20
21 Then run a local server, e.g.
22
23 ```
24 npx pushstate-server .
25 ```
26
27 and open the following URL in your browser: [http://localhost:9000/fixtures/packaging/index.html](http://localhost:9000/fixtures/packaging/index.html)
28
29 You should see two things:
30
31 * A number of iframes (corresponding to various builds), with "Hello World" rendered in each iframe.
32 * No errors in the console.