mirror of
https://github.com/netbirdio/netbird.git
synced 2026-05-31 21:19:55 +00:00
test.go is a non-_test.go file so its exported StartTestServer helper is visible to the ssh/proxy and ssh/client external test packages. That drags the testing/flag/regexp chain into every build that links ssh/server, including the wasm client (via the engine). Gate the file with //go:build !js: native test packages still see the helper, wasm drops the dependency.