Daniel Bogomazov
87230ce1e3
Fix #405 - Added tests for chmod and fchmod using Promises ( #458 )
...
* Added tests for chmod and fchmod using Promises
* Remove unrelated files from pull request
* Fixed spelling mistake
* Removed redundant catch blocks
2018-10-09 12:59:17 -04:00
Huda Al Dallal
2e2e2f9d64
Fixed issue#480 using promises to test fs.truncate when path does not exist ( #516 )
...
* added a test for issue#480 using promises to test fs.truncate
* Fixed issue#480 tesing fs.truncate using promises when path does not exist
2018-10-09 12:56:20 -04:00
rdittrich97
0354c7e13e
Fix #423 : added proimse support for fs.stat ( #432 )
...
* added promise support to fs.stat
* restored package lock
* fixed lint issues
* made tests more promise freindly
* removed .catch statement from promise and fixed style issues
* removed .catch statement from promise and fixed style issues
2018-10-09 12:54:40 -04:00
y2s82
1156f420c4
Fixed #424 - implement fs.promises.read tests ( #429 )
...
* implemented first two tests of fs.promises.read
* simplified the 2nd fs.promises.read test
* implemented test on file position update for fs.promises.read
* implemented directory read failure test for fs.promises.read
* implemented test to check the return type to be a Promise in fs.promises.read
* fixed indentation and also fixed a catch statement to allow all code to be reachable
* made tests more promise-friendly
* applied some style changes and test changes as per @rdittrich97 suggestions
* removed lines that are unnecessary for promise-based testing and syntactically simplified some function definitions
* removed more unnecessary check lines in directory check fail test
2018-10-09 12:51:59 -04:00
Nick Skuybeda
86b6b2a907
Fixed Issue #483 for a test done for fs.mknod promise ( #509 )
...
* test done for fs.mknod promise
* fixing whitespaces
2018-10-09 12:43:45 -04:00
Chaya Danzinger
a8759b1e38
Add tests for fs.promises utimes function #527 ( #540 )
...
* first two promise tests initial commit
* implemented existing tests but with promises
* add final tests
* add return statement for remaining tests
* fix function call error
2018-10-09 12:39:18 -04:00
David Humphrey
c84dd14f5e
Merge pull request #395 from humphd/issue-393
...
Fix #393 : add test for truncate with length undefined
2018-10-03 18:13:08 -04:00
Corey James
e3a1187ef9
Fixed the fs.read() example in doc. The error checking statements were using the wrong variable name ( #449 )
2018-09-24 14:08:49 -04:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
5e4de6b698
Fix #393 : add test for truncate with length undefined
2018-09-17 18:30:09 -04:00
0xazure
fd3de6be2c
Update karma dev dependency
...
Resolves `npm audit` warnings about 1 low, 5
moderate vulnerabilities related to versions before
karma@3.0.0.
Closes #384 .
2018-09-12 21:43:58 -04:00
Dmytro
353290a08f
Adding support for promises. Closes #379 , #382 ( #380 )
...
* adding promise-based filedescriptor
* fixing promisify dep
* promisifying shell
* deprecating 'exists' method on fs
* adding docs
* fixing docs
* removing redundant code.
2018-08-27 19:50:41 -04:00
Alan K
de45918cbc
Merge pull request #378 from humphd/karma
...
Automate tests using Headless Chrome + Karma runner
2018-08-21 14:54:48 -04:00
David Humphrey
53f5b0c50b
Fix script names in package.json
2018-07-27 11:23:27 -04:00
David Humphrey
7798b1cb87
Fix lint issues in implementation.js
2018-07-27 11:23:06 -04:00
David Humphrey
0da0e60194
Fix lint issues in interface.js
2018-07-27 11:17:45 -04:00
David Humphrey
dc8fa4cb96
Fix lint issues in node.js
2018-07-27 11:17:03 -04:00
David Humphrey
3a44c1756a
Fix lint issues in src/path.js
2018-07-27 11:16:30 -04:00
David Humphrey
8d553b78e0
Fix lint issues in indexeddb.js provider
2018-07-27 11:14:08 -04:00
David Humphrey
b92151cdc5
Fix lint issues in websql.js provider
2018-07-27 11:13:40 -04:00
David Humphrey
bcf4d9834a
Don't build source map for karma test bundle
2018-07-27 11:12:25 -04:00
David Humphrey
ed11b01234
Fix lint issues in shell.js
2018-07-27 11:12:06 -04:00
David Humphrey
0980ec4608
Fix lint issues in issue258.js
2018-07-27 11:09:45 -04:00
David Humphrey
a31044cc8d
Fix lint issues in issue267.js
2018-07-27 11:08:40 -04:00
David Humphrey
454d5bc801
Fix lint issues in ls-depth-bug.js
2018-07-27 11:07:17 -04:00
David Humphrey
d41885e9d0
Fix lint issue in tests/lib/indexeddb.js
2018-07-27 11:03:43 -04:00
David Humphrey
0e00af661a
Fix lint issues in fs.appendFile.spec.js
2018-07-27 11:02:42 -04:00
David Humphrey
f89b616fdc
Fix issues in fs.chmod.spec.js
2018-07-27 11:01:47 -04:00
David Humphrey
cbcddee3be
Fix lint issues in fs.chown.spec.js
2018-07-27 11:01:26 -04:00
David Humphrey
1a738dd2bb
Fix lint issues in fs.close.spec.js, fs.link.spec.js
2018-07-27 11:00:48 -04:00
David Humphrey
9e08d96c96
Fix lint issues in fs.lstat.spec.js
2018-07-27 10:44:42 -04:00
David Humphrey
980d5d0917
Fix lint issues in fs.lseek.spec.js
2018-07-27 10:43:51 -04:00
David Humphrey
a8e373e4b9
Fix lint issues in fs.mknod.spec.js
2018-07-27 10:39:34 -04:00
David Humphrey
86e57d60db
Fix lint issues in fs.open.spec.js
2018-07-27 10:38:44 -04:00
David Humphrey
054094c852
Fix lint issues in fs.read.spec.js, fix test failure in fs.stats.spec.js
2018-07-27 10:37:45 -04:00
David Humphrey
cafff52c3a
Fix lint issues in fs.rename.spec.js
2018-07-27 10:34:21 -04:00
David Humphrey
1c7b40c895
Fix lint issues in fs.stats.spec.js
2018-07-26 18:17:05 -04:00
David Humphrey
7258a2913e
Fix lint issues in fs.truncate.spec.js
2018-07-26 18:07:50 -04:00
David Humphrey
bb8743eda1
Fix lint issues in fs.unlink.spec.js
2018-07-26 18:02:16 -04:00
David Humphrey
94e6a98cb8
Fix lint issues in fs.utimes.spec.js
2018-07-26 18:01:21 -04:00
David Humphrey
ee8e2a665a
Fix lint issues in fs.writeFile-readFile.spec.js
2018-07-26 18:01:07 -04:00
David Humphrey
a93ae13c99
Fix lint issues in fs.xattr.spec.js
2018-07-26 17:56:54 -04:00
David Humphrey
ab87c7f14a
Fix lint issues in tests-fs-watch.js
2018-07-26 17:54:26 -04:00
David Humphrey
49931722cc
Fix lint issues in path-resolution.spec.js
2018-07-26 17:53:02 -04:00
David Humphrey
3e1c3deb51
Fix lint issues in providers.base.js
2018-07-26 17:50:32 -04:00
David Humphrey
a8c3fa85db
Fix lint issues in exec.spec.js
2018-07-26 17:44:27 -04:00
David Humphrey
51c81edb5b
Fix lint issues in touch.spec.js
2018-07-26 17:41:35 -04:00
David Humphrey
8e900a3a88
Fix lint issues in time-flags.spec.js
2018-07-26 17:39:19 -04:00
David Humphrey
4a066064f4
Fix lint issues in times.spec.js
2018-07-26 17:37:26 -04:00
David Humphrey
e5b6026b91
Add docs for running eslint/lint scripts
2018-07-15 13:28:04 -04:00
David Humphrey
a900d8df6d
Add eslint --fix scripts, fix first round of lint errors
2018-07-15 13:25:35 -04:00