(t *testing.T)
| 52 | } |
| 53 | |
| 54 | func TestTimer(t *testing.T) { |
| 55 | output, configuration := setup(t) |
| 56 | configuration.NotifyCommand = "" |
| 57 | configuration.VoiceCommand = "" |
| 58 | |
| 59 | err := startTimer("1", configuration) |
| 60 | |
| 61 | assertNoError(t, err) |
| 62 | assertOutputContains(t, output, "1 min timer ends at approx.") |
| 63 | assertOutputContains(t, output, "Happy collaborating! :)") |
| 64 | } |
| 65 | |
| 66 | func TestTimerExportFunction(t *testing.T) { |
| 67 | output, configuration := setup(t) |
nothing calls this directly
no test coverage detected