Open
Description
We have a few branches in fs.writeFile
that aren't being tested: https://codecov.io/gh/filerjs/filer/src/master/src/filesystem/implementation.js#L1850. To fix this, we need a few more tests added:
- test that passes invalid flags to
options.flags
(i.e., doesn't includew
) - test that passes a
number
for thedata
argument to write, and expects to have it written as a string.