filer icon indicating copy to clipboard operation
filer copied to clipboard

Node-like file system for browsers

Results 110 filer issues
Sort by recently updated
recently updated
newest added

currently there are no tests involving the promises version of the fs.access() function. I would like to work on it. Thanks, Nick S

add a test for function: chmod if the path does not exist, it should return err if the mode dose not pass the modecheck function, it should return err if...

The directory hierarchy for `tests/` and the purpose of each directory may not be self-explanatory, especially for new contributors. The NodeJS core repository has [a really nice README](https://github.com/nodejs/node/blob/bb9d788f772eaf3d6f61fcc27ec2788992faf625/test/README.md) that describes...

The test for fsPromises.readdir when the path exists, and is a directory, is missing. I would like to work on the test method to check.

Recently the node.js project [added a PR](https://github.com/nodejs/node/pull/21875) to enable `fs.mkdir` to accept an `Object` as the second argument. This `options` object can include `recursive: true` to allow for `mkdirp` style...

There is currently no test for fs.rename() to test when the target file/directory doesn't exist. For example, `fs.rename('/fileThatDoesntExist', '/newName', function(error)...` I would like to work on this issue.

Currently the fs.writeFile-readFile.spec.js file in the tests/spec folder tests the following cases for the fs.readFile() and fs.writeFile() methods: ✔ should be a function ✔ should error when path is wrong...

```javascript const fs = new Filer.FileSystem().promises; fs.open('/myfile', 'w+') .then(fd => fs.close(fd)) .then(() => fs.stat('/myfile')) .then(stats => { console.log(`stats: ${JSON.stringify(stats)}`); }) .catch(err => { console.error(err); }) ``` I'd like to write...

At this moment there are no test for a method [fs.mkdtemp(prefix[, options], callback)](https://nodejs.org/api/fs.html#fs_fs_mkdtemp_prefix_options_callback). This method allows to crate a temporary directory with a randomly generated name, or with a name...

Current tests in [fs.rename.spec.js](https://github.com/filerjs/filer/blob/develop/tests/spec/fs.rename.spec.js) do not include a test to check if fs.promises.rename() successfully renames an existing file. The new test could be based on logic for the equivalent existing...