(env []string)
| 472 | } |
| 473 | |
| 474 | func cleanEnv(env []string) (out []string) { |
| 475 | for _, e := range env { |
| 476 | // Filter out GITHUB envs and anything with token in it, |
| 477 | // especially GITHUB_TOKEN in CI as it breaks TestWasm. |
| 478 | if strings.HasPrefix(e, "GITHUB") || strings.Contains(e, "TOKEN") { |
| 479 | continue |
| 480 | } |
| 481 | out = append(out, e) |
| 482 | } |
| 483 | return out |
| 484 | } |
| 485 | |
| 486 | func assertCloseStatus(exp websocket.StatusCode, err error) error { |
| 487 | if websocket.CloseStatus(err) == -1 { |
no outgoing calls
no test coverage detected
searching dependent graphs…