()
| 13 | ) |
| 14 | |
| 15 | func testFS() fstest.MapFS { |
| 16 | return fstest.MapFS{ |
| 17 | "lark-calendar/SKILL.md": {Data: []byte("---\nname: lark-calendar\nversion: 1.0.0\ndescription: \"Calendar skill\"\nmetadata:\n requires:\n bins: [\"lark-cli\"]\n cliHelp: \"lark-cli calendar --help\"\n---\nbody\n")}, |
| 18 | "lark-calendar/references/agenda.md": {Data: []byte("# Agenda")}, |
| 19 | "lark-calendar/references/create.md": {Data: []byte("# Create")}, |
| 20 | "lark-calendar/assets/tpl.html": {Data: []byte("<html></html>")}, |
| 21 | "lark-im/SKILL.md": {Data: []byte("no frontmatter here\n")}, |
| 22 | "lark-im/references/send.md": {Data: []byte("# Send")}, |
| 23 | } |
| 24 | } |
| 25 | |
| 26 | func TestList(t *testing.T) { |
| 27 | r := New(testFS()) |
no outgoing calls
no test coverage detected