fork
Configure Feed
Select the types of activity you want to include in your feed.
Live video on the AT Protocol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1package ct
2
3import (
4 "os"
5 "testing"
6
7 "github.com/stretchr/testify/require"
8 "stream.place/streamplace/pkg/config"
9)
10
11func CLI(t *testing.T, cli *config.CLI) *config.CLI {
12 dir, err := os.MkdirTemp("", "aq-testing-*")
13 require.NoError(t, err)
14 t.Cleanup(func() {
15 os.RemoveAll(dir)
16 })
17 cli.DataDir = dir
18 return cli
19}