git.iko.soy/typeable/elm-ui
on master help sign in
just use yarn for testing examples
986a5fcMatthew Griffith
notes/RUNNING_TESTS.md+4−4
@@ -23,8 +23,8 @@ So, the tests in `elm-ui/tests-rendering/src/Tests` will render output, then har
23Run this locally via:
23Run this locally via:
24
24
25```bash
25```bash
26−yarn install # or npm install
26+npm install
27−yarn test-render # or npm run test-render
27+npm run test-render
28```
28```
29
29
30**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:
30**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...
36Local Chrome -> All 18029 tests passed
36Local Chrome -> All 18029 tests passed
37```
37```
38
38
39−That's right. We have 18,029 tests. Whew.
39+That's right. We have 18,029 tests. Woohoo!
40
40
41# Running on Sauce Labs
41# Running on Sauce Labs
42
42
@@ -52,7 +52,7 @@ export SAUCE_USERNAME={your username}
52You can then run.
52You can then run.
53
53
54```bash
54```bash
55−yarn test-render-sauce
55+npm run test-render-sauce
56```
56```
57
57
58**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.
58**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.