Skip to content

Commit 89b1bce

Browse files
LiviaMedeirosRafaelGSS
authored andcommitted
test: document fixtures.fileURL()
PR-URL: #49083 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent 57b24a3 commit 89b1bce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/common/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,12 @@ The absolute path to the `test/fixtures/` directory.
679679

680680
Returns the result of `path.join(fixtures.fixturesDir, ...args)`.
681681

682+
### `fixtures.fileURL(...args)`
683+
684+
* `...args` [\<string>][<string>]
685+
686+
Returns the result of `url.pathToFileURL(fixtures.path(...args))`.
687+
682688
### `fixtures.readSync(args[, enc])`
683689

684690
* `args` [\<string>][<string>] | [\<Array>][<Array>]

0 commit comments

Comments
 (0)