Unverified Commit 63f78f5d authored by Joyee Cheung's avatar Joyee Cheung
Browse files

test: improve fs error message test

- Reuse error validators for sync and async tests
- Validate properties of the errors

PR-URL: https://github.com/nodejs/node/pull/18277


Reviewed-By: default avatarMichaël Zasso <targos@protonmail.com>
Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent d09d8782
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment