interactions yay!!

This commit is contained in:
41666 2025-03-25 21:26:24 -07:00
parent b9a05bedf9
commit f60033a3e4
30 changed files with 716 additions and 44 deletions

View file

@ -0,0 +1,16 @@
package interactions_test
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestCmdHelloWorld(t *testing.T) {
i, _, _ := makeInteractions(t)
ix := mkInteraction("hello-world")
ir, err := i.CmdHelloWorld(ix)
assert.Nil(t, err)
assert.Equal(t, "Hello world!", ir.Data.Content)
}