(t *testing.T)
| 3 | import "testing" |
| 4 | |
| 5 | func TestOpenTimerInBrowserWithTimerRoom(t *testing.T) { |
| 6 | mockOpenInBrowser() |
| 7 | output, configuration := setup(t) |
| 8 | configuration.TimerRoom = "testroom" |
| 9 | |
| 10 | err := openTimerInBrowser(configuration) |
| 11 | |
| 12 | assertOutputNotContains(t, output, "Timer Room is not configured.") |
| 13 | assertNoError(t, err) |
| 14 | } |
| 15 | |
| 16 | func TestOpenTimerInBrowserWithoutTimerRoom(t *testing.T) { |
| 17 | mockOpenInBrowser() |
nothing calls this directly
no test coverage detected