all: fix js/android test failures

Fixes golang/go#48078

Change-Id: I8669c07e1536b9ce0f0deac0b876d21adf57c5fb
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/346449
Trust: Roland Shoemaker <roland@golang.org>
Run-TryBot: Roland Shoemaker <roland@golang.org>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
diff --git a/lint_test.go b/lint_test.go
index 7c1f351..10460eb 100644
--- a/lint_test.go
+++ b/lint_test.go
@@ -7,6 +7,7 @@
 import (
 	"io/ioutil"
 	"path/filepath"
+	"runtime"
 	"strings"
 	"testing"
 
@@ -15,6 +16,13 @@
 )
 
 func TestLintReports(t *testing.T) {
+	if runtime.GOOS == "js" {
+		t.Skipf("wasm builder does not have network access")
+	}
+	if runtime.GOOS == "android" {
+		t.Skipf("android builder does not have access to reports/")
+	}
+
 	reports, err := ioutil.ReadDir("reports")
 	if err != nil {
 		t.Fatalf("unable to read reports/: %s", err)