(t *testing.T)
| 320 | } |
| 321 | |
| 322 | func TestApp_ResolveSkillCommand_NoLocalRuntime(t *testing.T) { |
| 323 | t.Parallel() |
| 324 | |
| 325 | ctx := t.Context() |
| 326 | rt := &mockRuntime{} |
| 327 | sess := session.New() |
| 328 | app := New(t.Context(), rt, sess) |
| 329 | |
| 330 | // mockRuntime is not a LocalRuntime, so no skills should be returned |
| 331 | resolved, err := app.ResolveSkillCommand(ctx, "/some-skill") |
| 332 | require.NoError(t, err) |
| 333 | assert.Empty(t, resolved) |
| 334 | } |
| 335 | |
| 336 | func TestApp_ResolveSkillCommand_NotSlashCommand(t *testing.T) { |
| 337 | t.Parallel() |
nothing calls this directly
no test coverage detected