|
@@ -33,7 +33,7 @@ import (
|
33
|
33
|
)
|
34
|
34
|
|
35
|
35
|
func TestWebInterface(t *testing.T) {
|
36
|
|
- if runtime.GOOS == "nacl" {
|
|
36
|
+ if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
|
37
|
37
|
t.Skip("test assumes tcp available")
|
38
|
38
|
}
|
39
|
39
|
|
|
@@ -237,7 +237,7 @@ func makeFakeProfile() *profile.Profile {
|
237
|
237
|
}
|
238
|
238
|
|
239
|
239
|
func TestGetHostAndPort(t *testing.T) {
|
240
|
|
- if runtime.GOOS == "nacl" {
|
|
240
|
+ if runtime.GOOS == "nacl" || runtime.GOOS == "js" {
|
241
|
241
|
t.Skip("test assumes tcp available")
|
242
|
242
|
}
|
243
|
243
|
|