fix: tests

This commit is contained in:
2025-04-12 14:43:01 +01:00
parent 959b741fcb
commit 9bb07c1b9b

View File

@ -2,8 +2,10 @@ package client
import (
"errors"
"os"
"testing"
"github.com/charmbracelet/log"
"github.com/google/uuid"
"github.com/stretchr/testify/suite"
)
@ -28,6 +30,7 @@ func (suite *ToolTestSuite) SetupTest() {
return false, errors.New("I will always error")
})
suite.client.Log = log.New(os.Stdout)
suite.client.ToolHandler = suite.handler
}