mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 06:25:44 +00:00
fix(javascript): omit requests rejected by the default agent protocol
This commit is contained in:
1 parent
9f74043fa6
commit
f54cc2f3ac
4 files changed
+85
-1
No files matched your search
@@ -74,7 +74,7 @@ it("keeps the fetch candidate when the binding also holds another request", () =
|
||||
import http from "node:http";
|
||||
async function f(){
|
||||
let res = await fetch("https://api.test/x");
|
||||
res = await http.get("https://api.test/y");
|
||||
res = await http.get("http://api.test/y");
|
||||
return res.json();
|
||||
}
|
||||
`);
|
||||
|
||||
Reference in new issue
Block a user