Add --data, --listen and --ports to byre serve for task previews

This commit is contained in:
Ian Gulliver
2026-10-15 12:39:46 -07:00
parent 8beab6e384
commit 4a9888e653
18 changed files with 100 additions and 39 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ type received struct {
func TestBurstIsOneNotification(t *testing.T) {
ctx := context.Background()
var notifier *push.Notifier
st, err := store.Open(filepath.Join(t.TempDir(), "byre.db"), func(ev api.Event) { notifier.Observe(ev) })
st, err := store.Open(filepath.Join(t.TempDir(), "byre.db"), store.DefaultPortFirst, func(ev api.Event) { notifier.Observe(ev) })
if err != nil {
t.Fatalf("open store: %v", err)
}