Skip to content

Commit 1aab1aa

Browse files
committed
chore(cli): fix test flake when running in coder workspace
1 parent 22b932a commit 1aab1aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cli/exp_mcp_test.go

+1
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ func TestExpMcpServer(t *testing.T) {
148148
//nolint:tparallel,paralleltest
149149
func TestExpMcpConfigureClaudeCode(t *testing.T) {
150150
t.Run("NoReportTaskWhenNoAgentToken", func(t *testing.T) {
151+
t.Setenv("CODER_AGENT_TOKEN", "")
151152
ctx := testutil.Context(t, testutil.WaitShort)
152153
cancelCtx, cancel := context.WithCancel(ctx)
153154
t.Cleanup(cancel)

0 commit comments

Comments
 (0)