mirror of
https://github.com/mdgriffith/elm-ui.git
synced 2024-11-22 20:55:17 +03:00
just use yarn for testing examples
This commit is contained in:
parent
ee78b03727
commit
986a5fc622
@ -23,8 +23,8 @@ So, the tests in `elm-ui/tests-rendering/src/Tests` will render output, then har
|
|||||||
Run this locally via:
|
Run this locally via:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
yarn install # or npm install
|
npm install
|
||||||
yarn test-render # or npm run test-render
|
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:
|
**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
|
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
|
# Running on Sauce Labs
|
||||||
|
|
||||||
@ -52,7 +52,7 @@ export SAUCE_USERNAME={your username}
|
|||||||
You can then run.
|
You can then run.
|
||||||
|
|
||||||
```bash
|
```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.
|
**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.
|
||||||
|
Loading…
Reference in New Issue
Block a user