diff options
author | Rich Trott <rtrott@gmail.com> | 2016-11-21 21:25:37 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-11-25 20:23:12 -0800 |
commit | 561eade31726348ddc377f69fdadc5d1ce7db687 (patch) | |
tree | 8f368f2a35931babe25cd2b8855f53c307ffd164 /test/README.md | |
parent | 1f45d7aa41291383ce63cca5f80fd2a2a73d7603 (diff) | |
download | android-node-v8-561eade31726348ddc377f69fdadc5d1ce7db687.tar.gz android-node-v8-561eade31726348ddc377f69fdadc5d1ce7db687.tar.bz2 android-node-v8-561eade31726348ddc377f69fdadc5d1ce7db687.zip |
test: refactor common.js
* remove unused common.faketimeCli
* remove mosly-unused common.testDir
* assert.ok(false...) -> fail()
* alphabetize list of known globals
* .indexOf() -> .includes()
PR-URL: https://github.com/nodejs/node/pull/9732
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'test/README.md')
-rw-r--r-- | test/README.md | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/README.md b/test/README.md index 93f1090fef..1c3303435d 100644 --- a/test/README.md +++ b/test/README.md @@ -205,11 +205,6 @@ Checks if there are multiple localhosts available. Throws an `AssertionError` with `msg` -### faketimeCli -* return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) - -Return the path to the fake. - ### fileExists(pathname) * pathname [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) * return [<Boolean>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type) @@ -365,12 +360,6 @@ Synchronous version of `spawnCat`. Synchronous version of `spawnPwd`. -### testDir - -* return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) - -Path to the 'test' directory. - ### tmpDir * return [<String>](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#String_type) |