|
|
|
@ -24,15 +24,15 @@ Access WebApp at [http://localhost:8081](http://localhost:8081)
|
|
|
|
|
Note: you may replace `8081` with any other port number where you wish to make service available.
|
|
|
|
|
|
|
|
|
|
## Run tests as:
|
|
|
|
|
After building, go to to `build` sub-directory and edit `index.html` file and insert bellow code snippet immediately before closing `</body>` tag:
|
|
|
|
|
After building, go to to `public` sub-directory and edit `index.html` file and insert bellow code snippet immediately before closing `</body>` tag:
|
|
|
|
|
|
|
|
|
|
```{html}
|
|
|
|
|
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Than serve as:
|
|
|
|
|
Than start development instance as:
|
|
|
|
|
|
|
|
|
|
```{bash}
|
|
|
|
|
serve -s build
|
|
|
|
|
npm start
|
|
|
|
|
```
|
|
|
|
|
You should now see a hamburger on left of page. Tap/click it than select test suite `Random Quote Machine`. `Run Tests` and observe results.
|
|
|
|
|
You should now see a hamburger on top-left of page. Tap/click it than select test suite `Random Quote Machine`. `Run Tests` and observe results.
|
|
|
|
|