Casva
e77361107e
Issue 427 - Add tests to fsPromises.rmdir when directory doesn't exist and when trying to delete root directory ( #457 )
...
* Fix #427 - Fixed indentation and ENOENT -> EBUSY on line 120
* Deleted extra line at the end of document
* Fix #427 - Added tests for fsPromises.rmdir when trying to remove a nonexistent directory and when trying to remove root directory
2018-10-09 13:02:01 -04:00
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
rhayes2
31b3c40d74
Line ending fix
2018-09-25 00:35:46 -04:00
rhayes2
7a716e033b
Add chmod --test for chmode mode value
2018-09-25 00:31:49 -04:00
rhayes2
395de63751
aDD Chmod --test for chmod
2018-09-25 00:29:33 -04:00
rhayes2
7f155a0f40
Add chmod test with incorrect mode value
2018-09-25 00:27:31 -04:00
rhayes2
294685d6cb
Style fix
2018-09-25 00:15:07 -04:00
Stephen Ward
62b85d1442
i did it again...forgot to remove an unused variable so travis-ci test failed.
2018-09-24 23:32:11 -04:00
Stephen Ward
30752c9109
added a test: open a new file for writing, and set a mode for that file
2018-09-24 23:28:56 -04:00
Stephen Ward
f3a7170133
removed an unused variable, because I was using it for those console.logs which I just deleted
2018-09-24 19:17:19 -04:00
Stephen Ward
833ac62c45
removed some console.logs because travis-ci complained
2018-09-24 19:14:08 -04:00
Stephen Ward
78b3452d5d
added the addition of an optional mode when opening a file, removed my test because it was broken. Seemingly passes all the other tests still. STILL TO DO: add a proper test which makes sure the mode is set.
2018-09-24 19:10:09 -04:00
Stephen Ward
e7811eb53b
fixed lint spaces/indentation errors
2018-09-24 17:46:01 -04:00
rhayes2
546b4567d2
Added Test for CHMODE
2018-09-24 14:16:16 -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
rhayes2
499c72daaf
saving for lineending dumbness
2018-09-23 21:19:57 -04:00
Stephen Ward
add00ce563
testing out the validateAndMask() function, with console.log's...
2018-09-23 13:49:00 -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