deno/tests/unit_node/_fs
Daniel Osvaldo Rahmanto ebcb2fa294
fix(ext/node): fs.statfsSync and fs.statfs compatibility (#30662)
Towards #29972

- Converts the polyfill to typescript.
- Implement async op.
- Allows `Buffer` type path.
- Allows
[parallel/test-fs-statfs.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-fs-statfs.js)
test to pass.
2025-09-18 16:03:30 +02:00
..
testdata
_fs_access_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_appendFile_test.ts fix(ext/node): incorrect ERR_INVALID_ARG_VALUE constructor arguments position (#30309) 2025-08-04 16:05:41 +00:00
_fs_chmod_test.ts fix(std/fs): implement chmod on windows (#30436) 2025-08-18 19:06:22 +02:00
_fs_chown_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_close_test.ts chore(test): fix node:fs.close test flakiness (#30735) 2025-09-15 17:21:22 +00:00
_fs_copy_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_dir_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_exists_test.ts fix(ext/node): fs.exists and fs.existsSync compatibility (#30507) 2025-08-26 15:31:39 +02:00
_fs_fdatasync_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_fstat_test.ts Revert "fix(ext/node): fs.stat and fs.statSync compatibility (#30… (#30741) 2025-09-15 19:25:47 -04:00
_fs_fsync_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_ftruncate_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_futimes_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_handle_test.ts fix(ext/node): add createReadStream & createWriteStream methods to the FileHandle class (#28700) 2025-04-07 17:13:32 +09:00
_fs_link_test.ts fix(ext/node): validate path parameters on link and linkSync (#30061) 2025-07-11 11:35:43 +09:00
_fs_lstat_test.ts Revert "fix(ext/node): fs.stat and fs.statSync compatibility (#30… (#30741) 2025-09-15 19:25:47 -04:00
_fs_mkdir_test.ts fix(ext/node): mkdir() parse file mode (#28609) 2025-03-25 09:33:41 +05:30
_fs_mkdtemp_test.ts fix(ext/node): fs.mkdtemp and fs.mkdtempSync compatibility (#30602) 2025-09-05 16:12:42 -04:00
_fs_open_test.ts fix(ext/node): parse fs open options correctly (#30300) 2025-08-05 11:12:22 +02:00
_fs_opendir_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_read_test.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
_fs_readdir_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_readFile_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_readlink_test.ts fix(ext/node): validate readlink arguments (#30691) 2025-09-11 18:43:48 +02:00
_fs_realpath_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_rename_test.ts fix(ext/node): fs.rename and fs.renameSync compatibility (#30245) 2025-07-31 10:24:59 -04:00
_fs_rm_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_rmdir_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_stat_test.ts Revert "fix(ext/node): fs.stat and fs.statSync compatibility (#30… (#30741) 2025-09-15 19:25:47 -04:00
_fs_statfs_test.ts fix(ext/node): fs.statfsSync and fs.statfs compatibility (#30662) 2025-09-18 16:03:30 +02:00
_fs_symlink_test.ts fix(ext/node): fs.symlink and fs.symlinkSync compatibility (#30555) 2025-09-03 17:48:13 -04:00
_fs_truncate_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_unlink_test.ts fix(ext/node): fs.unlink and fs.unlinkSync compatibility (#30257) 2025-07-31 10:56:11 +02:00
_fs_utimes_test.ts chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
_fs_watch_test.ts test: disable _fs_watch_test.ts test case (#29701) 2025-06-11 12:51:36 +00:00
_fs_write_test.ts feat: TypeScript 5.7 (#27857) 2025-01-31 16:07:42 -05:00
_fs_writeFile_test.ts fix(std/fs): implement chmod on windows (#30436) 2025-08-18 19:06:22 +02:00