MCPcopy Index your code
hub / github.com/SpectoLabs/hoverfly / Test_InitSettings_SetsModeToSimulate

Function Test_InitSettings_SetsModeToSimulate

core/settings_test.go:71–77  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

69}
70
71func Test_InitSettings_SetsModeToSimulate(t *testing.T) {
72 RegisterTestingT(t)
73
74 settings := InitSettings()
75
76 Expect(settings.Mode).To(Equal("simulate"))
77}
78
79// TestSetMode - tests SetMode function, however it doesn't test
80// whether mutex works correctly or not

Callers

nothing calls this directly

Calls 1

InitSettingsFunction · 0.85

Tested by

no test coverage detected