We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e2900b commit 46fb938Copy full SHA for 46fb938
compiler/natives/src/net/http/client_test.go
@@ -0,0 +1,21 @@
1
+//go:build js
2
+
3
+package http_test
4
5
+import (
6
+ "testing"
7
+)
8
9
+func testClientTimeout(t *testing.T, h2 bool) {
10
+ // The original test expects Client.Timeout error to be returned, but under
11
+ // GopherJS an "i/o timeout" error is frequently returned. Otherwise the test
12
+ // seems to be working correctly.
13
+ t.Skip("Flaky test under GopherJS.")
14
+}
15
16
+func testClientTimeout_Headers(t *testing.T, h2 bool) {
17
18
19
20
21
0 commit comments