Skip to content

Commit

Permalink
test: document fixtures.fileURL()
Browse files Browse the repository at this point in the history
PR-URL: nodejs#49083
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
LiviaMedeiros authored and RafaelGSS committed Aug 15, 2023
1 parent c55d1ce commit c0936e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/common/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>]
Expand Down

0 comments on commit c0936e3

Please sign in to comment.