Nate Fischer
|
ac0ff873f1
|
refactor: add config.reset() and .resetForTesting() (#641)
Add .reset() and .resetForTesting() to shell.config and use .resetForTesting()
as a standard set-up for unit tests.
|
2017-01-07 22:40:38 -08:00 |
|
Brandon Freitag
|
7fa4b995bf
|
Finalize moving to ava (#630)
* Move ava-test/ directory to test/
* Remove unnecessary run-tests.js script
* Run only ava during npm test script
|
2016-12-20 11:27:02 -08:00 |
|
Nate Fischer
|
51fea9b7f0
|
test: refactor global tests to AVA (#605)
|
2016-12-14 13:57:40 -08:00 |
|
Gyandeep Singh
|
93ea025755
|
Revert "refactor: replace fs.existsSync" (fixes #531) (#532)
This reverts commit ab8cf5a8e027b28fc7b784587e4339d2b6d0f08f.
|
2016-10-17 20:14:43 -07:00 |
|
Nate Fischer
|
ab8cf5a8e0
|
refactor: replace fs.existsSync (#509)
* refactor: replace fs.existsSync
* fix: add support for v0.10
|
2016-08-20 18:28:49 -07:00 |
|
Nate Fischer
|
2395214fee
|
chore: switch to eslint (#504)
* chore: switch to eslint
* fix: works on older versions of NodeJS now
* chore: fix curly braces
* chore: fix indents and remove jshint references
|
2016-08-07 12:16:29 -07:00 |
|
Nate Fischer
|
6739aed69e
|
refactor(string): modify string protoype, but only for shelljs/global
`require('shelljs/global')` extends String.prototype to have the `.to()` and
`.toEnd()` methods again. This also adds tests for the global require.
|
2016-03-18 17:05:14 -07:00 |
|