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

Function TestOpenTimerInBrowserError

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

Source from the content-addressed store, hash-verified

24}
25
26func TestOpenTimerInBrowserError(t *testing.T) {
27 mockOpenInBrowser()
28 _, configuration := setup(t)
29 configuration.TimerUrl = ""
30
31 err := openTimerInBrowser(configuration)
32
33 assertError(t, err, "Timer url is not configured")
34}
35
36func TestTimerNumberLessThen1(t *testing.T) {
37 output, configuration := setup(t)

Callers

nothing calls this directly

Calls 4

mockOpenInBrowserFunction · 0.85
setupFunction · 0.85
openTimerInBrowserFunction · 0.85
assertErrorFunction · 0.85

Tested by

no test coverage detected