(t *testing.T, v any)
| 629 | } |
| 630 | |
| 631 | func jsoninate(t *testing.T, v any) string { |
| 632 | t.Helper() |
| 633 | if e, ok := v.(usagetypes.Event); ok { |
| 634 | v = e.Fields() |
| 635 | } |
| 636 | buf, err := json.Marshal(v) |
| 637 | require.NoError(t, err) |
| 638 | return string(buf) |
| 639 | } |
| 640 | |
| 641 | func configureDeployment(ctx context.Context, t *testing.T, db database.Store) (uuid.UUID, string) { |
| 642 | t.Helper() |
no test coverage detected