- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestImageFetcher_Fetch (0.24 sec)
-
pkg/wasm/imagefetcher_test.go
t.Run(c.name, func(t *testing.T) { actual := c.opt.useDefaultKeyChain() if actual != c.exp { t.Errorf("useDefaultKeyChain got %v want %v", actual, c.exp) } }) } } func TestImageFetcher_Fetch(t *testing.T) { // Fetcher with anonymous auth. fetcher := ImageFetcher{fetchOpts: []remote.Option{remote.WithAuth(authn.Anonymous)}} // Set up a fake registry. s := httptest.NewServer(registry.New())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Feb 05 04:15:17 UTC 2023 - 16.3K bytes - Viewed (0)