1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/tests/node_compat/test
Nathan Whitaker dadc606419
fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172)
Part of #18218


- Adds `fs.lutimes` and `fs.lutimesSync` to our node polyfills. To do
this I added methods to the `FileSystem` trait + ops to expose the
functionality to JS.
- Exports `fs._toUnixTimestamp`. Node exposes an internal util
`toUnixTimestamp` from the fs module to be used by unit tests (so we
need it for the unit test to pass unmodified). It's weird because it's
only supposed to be used internally but it's still publicly accessible
- Matches up error handling and timestamp handling for fs.futimes and
fs.utimes with node
- Enables the node_compat utimes test - this exercises futimes, lutimes,
and utimes.
2024-07-02 19:33:32 -07:00
..
common chore: sync up Node.js test files for v20.11.1 (#24066) 2024-06-11 11:41:44 +00:00
fixtures fix(ext/node): rewrite crypto.Hash (#24302) 2024-06-24 11:47:12 +02:00
internet chore: sync up Node.js test files for v20.11.1 (#24066) 2024-06-11 11:41:44 +00:00
parallel fix(ext/node): Add fs.lutimes / fs.lutimesSync (#23172) 2024-07-02 19:33:32 -07:00
pseudo-tty chore: move tools/node_compat to tests/node_compat/runner (#23025) 2024-04-03 09:24:55 +11:00
pummel chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00
sequential chore: move cli/tests/ -> tests/ (#22369) 2024-02-10 20:22:13 +00:00