From 0960b984909433b9e83733cd8a08076b0e1a4240 Mon Sep 17 00:00:00 2001 From: LiviaMedeiros Date: Wed, 9 Aug 2023 23:54:36 +0800 Subject: [PATCH] test: document `fixtures.fileURL()` --- test/common/README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/common/README.md b/test/common/README.md index 8cf0168b4fc0a7..98d744d3694713 100644 --- a/test/common/README.md +++ b/test/common/README.md @@ -679,6 +679,12 @@ The absolute path to the `test/fixtures/` directory. Returns the result of `path.join(fixtures.fixturesDir, ...args)`. +### `fixtures.fileURL(...args)` + +* `...args` [\][] + +Returns the result of `url.pathToFileURL(fixtures.path(...args))`. + ### `fixtures.readSync(args[, enc])` * `args` [\][] | [\][]