MCPcopy Create free account
hub / github.com/bigcommerce/stencil-cli / getServerConfigStub

Function getServerConfigStub

lib/stencil-init.spec.js:168–175  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

166 save: jest.fn(),
167 });
168 const getServerConfigStub = () => ({
169 get: jest.fn(
170 (prop) =>
171 ({
172 '/server/port': serverConfigPort,
173 }[prop]),
174 ),
175 });
176 const createStencilInitInstance = ({
177 inquirer,
178 stencilConfigManager,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected