MCPcopy Create free account
hub / github.com/devfeel/dotweb / Test_IsDevelopmentMode_2

Function Test_IsDevelopmentMode_2

dotweb_test.go:41–46  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

39}
40
41func Test_IsDevelopmentMode_2(t *testing.T) {
42 app := New()
43 app.Config.App.RunMode = "production"
44 b := app.IsDevelopmentMode()
45 t.Log("Run IsDevelopmentMode :", b)
46}
47
48func newConfigDotWeb() *DotWeb {
49 app := New()

Callers

nothing calls this directly

Calls 2

NewFunction · 0.85
IsDevelopmentModeMethod · 0.80

Tested by

no test coverage detected