fix: tests
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user