How to use the corvid-local-test-utils.siteCreators.fullSiteItems function in corvid-local-test-utils

To help you get started, we’ve selected a few corvid-local-test-utils examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wix-incubator / corvid / packages / corvid-local-site / src / testkit / localSiteBuilder.js View on Github external
const buildFull = (...siteItems) => {
  const defaultSiteItems = sc.fullSiteItems();
  const fullSite = buildPartial(...defaultSiteItems, ...siteItems);
  return fullSite;
};
github wix-incubator / corvid / packages / corvid-fake-local-mode-editor / src / editorSiteBuilder.js View on Github external
const buildFull = (...siteItems) => {
  const defaultSiteItems = sc.fullSiteItems();
  const fullSite = buildPartial(...defaultSiteItems, ...siteItems);
  return fullSite;
};