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 731b503 commit b947a3dCopy full SHA for b947a3d
lib/launcher/private_test.go
@@ -177,10 +177,10 @@ func TestURLParserErr(t *testing.T) {
177
func TestBrowserDownloadErr(t *testing.T) {
178
g := setup(t)
179
180
+ r := g.Serve().Route("/", "", "")
181
b := NewBrowser()
182
b.Logger = utils.LoggerQuiet
- malURL := "https://npm.taobao.org/mirrors/chromium-browser-snapshots//869685/"
183
- g.Has(b.download(g.Context(), malURL).Error(), "failed to download the browser: 200")
+ g.Has(b.download(g.Context(), r.URL()).Error(), "failed to download the browser: 200")
184
}
185
186
func TestTestOpen(t *testing.T) {
0 commit comments