fix(hub): add onAfterBootstrapAndMigrations to properly queue fns after migrations

also remove error return from NewHub and improve comments in hub.go
This commit is contained in:
henrygd
2026-03-20 19:32:59 -04:00
parent be70840609
commit ff36138229
4 changed files with 38 additions and 23 deletions

View File

@@ -52,10 +52,7 @@ func NewTestHubWithConfig(config core.BaseAppConfig) (*TestHub, error) {
return nil, err
}
hub, err := hub.NewHub(testApp)
if err != nil {
return nil, err
}
hub := hub.NewHub(testApp)
t := &TestHub{
App: testApp,