just use yarn for testing examples

This commit is contained in:
Matthew Griffith 2020-03-15 14:30:01 -04:00
parent ee78b03727
commit 986a5fc622

View File

@ -23,8 +23,8 @@ So, the tests in `elm-ui/tests-rendering/src/Tests` will render output, then har
Run this locally via:
```bash
yarn install # or npm install
yarn test-render # or npm run test-render
npm install
npm run test-render
```
**Note** if you run this, it runs by default in headless chrome, so you won't see a browser actually open. Ideally you'll just see something like this:
@ -36,7 +36,7 @@ Running locally on Chrome...
Local Chrome -> All 18029 tests passed
```
That's right. We have 18,029 tests. Whew.
That's right. We have 18,029 tests. Woohoo!
# Running on Sauce Labs
@ -52,7 +52,7 @@ export SAUCE_USERNAME={your username}
You can then run.
```bash
yarn test-render-sauce
npm run test-render-sauce
```
**Note**: The compiled `elm-ui` test needs to be made public somewhere in order for this to work. At the moment it's at my github.io account, though something more permanenet might be set up.