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

Function getBrowserSyncStub

lib/stencil-start.spec.js:8–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6afterAll(() => jest.restoreAllMocks());
7describe('StencilStart unit tests', () => {
8 const getBrowserSyncStub = () => ({
9 watch: jest.fn(),
10 init: jest.fn(),
11 });
12 const getThemeApiClientStub = () => ({
13 checkCliVersion: jest.fn().mockResolvedValue({
14 baseUrl: 'example.com',

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected