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

Function cb

lib/stencil-bundle.spec.js:78–80  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

76 it('should error when running assembleTemplates', async () => {
77 const errorMessage = 'our_error2';
78 const cb = (err) => {
79 if (err) throw err;
80 };
81 jest.spyOn(async, 'map').mockImplementation(() => {
82 throw new Error(errorMessage);
83 });

Callers 6

regions.spec.jsFile · 0.85
validateObjectsMethod · 0.85
_validateImageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected