File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -1027,11 +1027,15 @@ The `tmpdir` module supports the use of a temporary directory for testing.
10271027
10281028The realpath of the testing temporary directory.
10291029
1030- ### ` url `
1030+ ### ` fileURL([...paths]) `
10311031
1032- * [ \< string>] [ <string> ]
1032+ * ` ...paths ` [ \< string>] [ <string> ]
1033+ * return [ \< URL>] [ <URL> ]
1034+
1035+ Resolves a sequence of paths into absolute url in the temporary directory.
10331036
1034- The absolute url of the testing temporary directory with trailing ` / ` .
1037+ When called without arguments, returns absolute url of the testing
1038+ temporary directory with explicit trailing ` / ` .
10351039
10361040### ` refresh(useSpawn) `
10371041
@@ -1098,6 +1102,7 @@ See [the WPT tests README][] for details.
10981102[ <Function> ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function
10991103[ <Object> ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object
11001104[ <RegExp> ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp
1105+ [ <URL> ] : https://developer.mozilla.org/en-US/docs/Web/API/URL
11011106[ <any> ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Data_types
11021107[ <bigint> ] : https://github.com/tc39/proposal-bigint
11031108[ <boolean> ] : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#Boolean_type
You can’t perform that action at this time.
0 commit comments