mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
test: document fixtures.fileURL()
PR-URL: https://github.com/nodejs/node/pull/49083 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
@@ -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` [\<string>][<string>]
|
||||
|
||||
Returns the result of `url.pathToFileURL(fixtures.path(...args))`.
|
||||
|
||||
### `fixtures.readSync(args[, enc])`
|
||||
|
||||
* `args` [\<string>][<string>] | [\<Array>][<Array>]
|
||||
|
||||
Reference in New Issue
Block a user