filer
filer copied to clipboard
Node-like file system for browsers
fs.unwatchFile could either take 1 or 2 arguments. If 1 is passed then stop watching for that specific file. If 2 is passed then only that listener is removed. I...
I just checked the fsPromises.readdir test cases under fs.readdir.spec.js file. Currently, there are fsPromises.readdir test cases with '(promise)' prefix under fs.readdir group. I can see that there is alslo fsPromises.readdir...
Adds test for promises.rename() to tests/spec/fs.rename,spec.js to check renaming an existing file. Closely mimics logic for an existing test that checks if the the Async rename() function renames an existing...
When calling [fs.appendFile(path, data[, options], callback)](https://nodejs.org/docs/latest/api/fs.html#fs_fs_appendfile_path_data_options_callback), within the options object we may include a file system flag (defaults to 'a' so that the file is opened for appending). I would...
While attempting to verify #433, I ran into an interesting issue when running the in-browser tests using Firefox 63.0b2 (64-bit). ```js Skipping provider tests for `WebSQL'--not supported in current environment....
I found out that existing tests do not test this case. Function should not rename the file, then it returns success status. I would like to add this test myself.
Trailing newlines are a common idiom in programming, and enabling this rule will save reviewers nitpicking or overlooking missing trailing newlines. ESLint also supports the `--fix` option to automate fixing...
I want to try the difference between "R+" and "R"