MCPcopy Create free account
hub / github.com/gavv/httpexpect / newMockConfig

Function newMockConfig

mocks_test.go:16–18  ·  view source on GitHub ↗

mock config

(r Reporter)

Source from the content-addressed store, hash-verified

14
15// mock config
16func newMockConfig(r Reporter) Config {
17 return Config{Reporter: r}.withDefaults()
18}
19
20// mock chain
21func newMockChain(t *testing.T, flag ...chainFlags) *chain {

Calls 1

withDefaultsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…