MCPcopy Create free account
hub / github.com/remotemobprogramming/mob / TestOpenTimerInBrowserWithoutTimerRoom

Function TestOpenTimerInBrowserWithoutTimerRoom

timer_test.go:16–24  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

14}
15
16func TestOpenTimerInBrowserWithoutTimerRoom(t *testing.T) {
17 mockOpenInBrowser()
18 output, configuration := setup(t)
19
20 err := openTimerInBrowser(configuration)
21
22 assertOutputContains(t, output, "Timer Room is not configured.")
23 assertNoError(t, err)
24}
25
26func TestOpenTimerInBrowserError(t *testing.T) {
27 mockOpenInBrowser()

Callers

nothing calls this directly

Calls 5

mockOpenInBrowserFunction · 0.85
setupFunction · 0.85
openTimerInBrowserFunction · 0.85
assertOutputContainsFunction · 0.85
assertNoErrorFunction · 0.85

Tested by

no test coverage detected