Skip to content

Commit 2456d60

Browse files
Zirrodomenic
authored andcommitted
Yarn followup
Small bit of followup after the changes in jsdom#1999. Removes two remaining yarn run's, as well as the double dashes which are not needed in commands when using Yarn.
1 parent 0db4270 commit 2456d60

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ matrix:
7979
- libpango1.0-dev
8080
- libgif-dev
8181
- build-essential
82-
- script: '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || (yarn run pretest && yarn run test-browser)'
82+
- script: '[ "${TRAVIS_PULL_REQUEST}" != "false" ] || (yarn pretest && yarn test-browser)'
8383
env: TEST_SUITE=browser
8484
addons:
8585
sauce_connect:

Contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ However, the web-platform-tests project is not fully comprehensive. If you need
5353

5454
**To run the to-upstream web-platform-tests:** `yarn test-tuwpt`
5555

56-
**To run specific web-platform-tests already enabled via `to-run.yaml`**: `yarn test-wpt -- --fgrep dom/events`
56+
**To run specific web-platform-tests already enabled via `to-run.yaml`**: `yarn test-wpt --fgrep dom/events`
5757

58-
**To run specific to-upstream web-platform-tests**: `yarn test-tuwpt -- --fgrep domparsing`
58+
**To run specific to-upstream web-platform-tests**: `yarn test-tuwpt --fgrep domparsing`
5959

6060
Also, to update web platform tests to their latest revision from the source repository: `yarn update-wpt`. (This can take a long time, like 10 minutes.)
6161

@@ -67,7 +67,7 @@ To write such a test that, simply add a file in `test/api/`, following the surro
6767

6868
**To run all API tests:** `yarn test-api`
6969

70-
**To run a specific API test:** `yarn test-mocha -- test/api/from-file.js`
70+
**To run a specific API test:** `yarn test-mocha test/api/from-file.js`
7171

7272
### Older tests
7373

0 commit comments

Comments
 (0)