filer/tests/spec
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
..
node-js/simple Fix lint issues in tests-fs-watch.js 2018-07-26 17:54:26 -04:00
providers Fix lint issues in providers.base.js 2018-07-26 17:50:32 -04:00
shell Fix lint issues in exec.spec.js 2018-07-26 17:44:27 -04:00
errors.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
filer.filesystem.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
filer.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.appendFile.spec.js Fix lint issues in fs.appendFile.spec.js 2018-07-27 11:02:42 -04:00
fs.chmod.spec.js Fix issues in fs.chmod.spec.js 2018-07-27 11:01:47 -04:00
fs.chown.spec.js Fix lint issues in fs.chown.spec.js 2018-07-27 11:01:26 -04:00
fs.close.spec.js Fix lint issues in fs.close.spec.js, fs.link.spec.js 2018-07-27 11:00:48 -04:00
fs.exists.spec.js Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD 2018-07-14 10:53:23 -04:00
fs.link.spec.js Fix lint issues in fs.close.spec.js, fs.link.spec.js 2018-07-27 11:00:48 -04:00
fs.lseek.spec.js Fix lint issues in fs.lseek.spec.js 2018-07-27 10:43:51 -04:00
fs.lstat.spec.js Fix lint issues in fs.lstat.spec.js 2018-07-27 10:44:42 -04:00
fs.mkdir.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.mknod.spec.js Fixed Issue #483 for a test done for fs.mknod promise (#509) 2018-10-09 12:43:45 -04:00
fs.open.spec.js Fix lint issues in fs.open.spec.js 2018-07-27 10:38:44 -04:00
fs.read.spec.js Fixed #424 - implement fs.promises.read tests (#429) 2018-10-09 12:51:59 -04:00
fs.readdir.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.readlink.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.rename.spec.js Fix lint issues in fs.rename.spec.js 2018-07-27 10:34:21 -04:00
fs.rmdir.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.shell.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.stat.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.stats.spec.js Fix lint issues in fs.read.spec.js, fix test failure in fs.stats.spec.js 2018-07-27 10:37:45 -04:00
fs.symlink.spec.js Add eslint --fix scripts, fix first round of lint errors 2018-07-15 13:25:35 -04:00
fs.truncate.spec.js Fix #393: add test for truncate with length undefined 2018-09-17 18:30:09 -04:00
fs.unlink.spec.js Fix lint issues in fs.unlink.spec.js 2018-07-26 18:02:16 -04:00
fs.utimes.spec.js Add tests for fs.promises utimes function #527 (#540) 2018-10-09 12:39:18 -04:00
fs.watch.spec.js Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD 2018-07-14 10:53:23 -04:00
fs.write.spec.js Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD 2018-07-14 10:53:23 -04:00
fs.writeFile-readFile.spec.js Fix lint issues in fs.writeFile-readFile.spec.js 2018-07-26 18:01:07 -04:00
fs.xattr.spec.js Fix lint issues in fs.xattr.spec.js 2018-07-26 17:56:54 -04:00
path-resolution.spec.js Fix lint issues in path-resolution.spec.js 2018-07-26 17:53:02 -04:00
time-flags.spec.js Fix lint issues in time-flags.spec.js 2018-07-26 17:39:19 -04:00
times.spec.js Fix lint issues in times.spec.js 2018-07-26 17:37:26 -04:00
trailing-slashes.spec.js Update package.json + tests/ to support browser property for bundlers, delete old useless tests for AMD 2018-07-14 10:53:23 -04:00