Skip to content

Commit

Permalink
test: document fixtures.fileURL()
Browse files Browse the repository at this point in the history
PR-URL: #49083
Reviewed-By: Antoine du Hamel <[email protected]>
Reviewed-By: Joyee Cheung <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
  • Loading branch information
LiviaMedeiros authored and RafaelGSS committed Aug 17, 2023
1 parent 57b24a3 commit 89b1bce
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 89b1bce

Please sign in to comment.