Commit fa250fd
authored
lib: make fetch sync and return a Promise
update test
PR-URL: #49936
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Chemi Atlow <chemi@atlow.co.il>
Reviewed-By: LiviaMedeiros <livia@cirno.name>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>1 parent 6c9625d commit fa250fdCopy full SHA for fa250fd
File tree
Expand file treeCollapse file tree
2 files changed
+10
-1
lines changedOpen diff view settings
Filter options
- lib/internal/process
- test/parallel
Expand file treeCollapse file tree
2 files changed
+10
-1
lines changedOpen diff view settings
Collapse file
lib/internal/process/pre_execution.js
Copy file name to clipboardExpand all lines: lib/internal/process/pre_execution.js+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
292 | 292 | |
293 | 293 | |
294 | 294 | |
295 | | - |
| 295 | + |
| 296 | + |
296 | 297 | |
297 | 298 | |
298 | 299 | |
|
Collapse file
test/parallel/test-fetch.mjs
Copy file name to clipboardExpand all lines: test/parallel/test-fetch.mjs+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
10 | 10 | |
11 | 11 | |
12 | 12 | |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
13 | 21 | |
14 | 22 | |
15 | 23 | |
|
0 commit comments