Ryan Zimmerman
fd50986b4c
BREAKING: ESM support ( #974 )
...
* Remove process.cwd() trick from test files
* BREAKING: Switch from main to exports
* Add fs-extra/esm ESM named import module, with just fs-extra methods
Fixes #746
2022-11-28 13:50:33 -05:00
Ryan Zimmerman
3c3865cad8
BREAKING: Drop old Node support ( #751 )
...
* BREAKING: Drop old Node support, require v10+
Update CI configs
* Remove references and test fencing for old Node versions
* Use object spread properties
* Use octal literal notation
* Use optional catch bindings
2020-02-04 17:30:40 -05:00
Ryan Zimmerman
20c82ab4dd
Run stricter linter to cleanup problems and force ES6 usage ( #566 )
...
Also shorten fs.write() promise code
2018-04-10 08:12:12 -04:00
JPeer264
2c78eecf09
Refactor test.js
2017-02-27 22:14:36 +01:00
RyanZim
1f83cb0cdf
Remove walk() & walkSync()
...
Resolves #338
2017-01-03 13:17:44 -05:00
JP Richardson
4b9805a9e4
lib/walk: made public, added tests
2015-10-24 16:55:12 -05:00
JP Richardson
f215fc3c56
lib/walk/walker: streams implementation complete
2015-07-13 03:26:22 -05:00
JP Richardson
b48f10284c
lib/walk/walker: only emit one object (path, stat) instead of two params
2015-07-13 02:48:39 -05:00
JP Richardson
6a725ca70f
test.js: use builtin assign
2015-07-09 06:15:26 -05:00
JP Richardson
330ecb5df8
test.js: can take Mocha args via cli
2015-07-09 05:44:45 -05:00
Futago-za Ryuu
51d4ae9d45
test.js: ensure tests are only found in fx-extra
...
This commit ensures that tests are:
- only found in `fs-extra/lib`
- found even if `fs-extra` is in a `node_modules` folder
2015-07-03 16:19:10 +01:00
JP Richardson
a6ae6b19e8
test.js: remove test dir after completion
2015-06-26 09:44:13 -05:00
JP Richardson
93da3ed8af
test: changed to dot reporter
2015-06-22 10:11:30 -05:00
JP Richardson
79c7024f88
package&test: changed scripts
2015-06-19 09:34:48 -05:00
JP Richardson
32a5daf7b1
fs-extra: started moving tests inline
2015-06-19 09:17:07 -05:00
JP Richardson
c989b6ea0e
JavaScript Standard Style
2015-06-17 09:48:53 -05:00
JP Richardson
3d3f050741
test.js: windows test script
2015-06-17 09:12:18 -05:00