()
| 32 | |
| 33 | func modelWithBoxes() model { |
| 34 | m := sizedModel() |
| 35 | updated, _ := m.Update(boxesLoadedMsg(testBoxes())) |
| 36 | m = updated.(model) |
| 37 | // Simulate postings loaded for first box |
| 38 | updated, _ = m.Update(currentPostingsLoaded(m.mailView, testPostings())) |
| 39 | return updated.(model) |
| 40 | } |
| 41 | |
| 42 | func testBoxes() []mail.Source { |
| 43 | return []mail.Source{ |
no outgoing calls
no test coverage detected