package core_test import ( "context" "encoding/json" "math" "strings" "testing" "github.com/carlosframework/docs/internal/core" ) func TestInitialUpdateUsesRealCollaborativeCore(t *testing.T) { ctx := context.Background() rt, err := core.New(ctx) if err != nil { t.Fatal(err) } defer rt.Close(ctx) update, err := rt.InitialUpdate(ctx, "fresh-initial", math.MaxUint32, []core.InitialBlock{{Level: 2, Text: "Agenda 😀"}, {Text: "