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 41cfdfd commit c61e094Copy full SHA for c61e094
components/common-go/experiments/types_test.go
@@ -5,11 +5,13 @@
5
package experiments
6
7
import (
8
- "github.com/stretchr/testify/require"
9
"testing"
+
10
+ "github.com/stretchr/testify/require"
11
)
12
13
func TestNewClient_WithoutEnvSet(t *testing.T) {
14
+ t.Setenv("GITPOD_HOST", "")
15
client := NewClient()
16
require.IsType(t, &alwaysReturningDefaultValueClient{}, client)
17
}
0 commit comments