How to use the corvid-local-test-utils.siteCreators.multilingualInfo 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 itemToFile = item =>
  sc.matchItem(item, {
    [sc.page]: page,
    [sc.pageWithCode]: pageWithCode,
    [sc.lightbox]: lightbox,
    [sc.lightboxWithCode]: lightboxWithCode,
    [sc.router]: router,
    [sc.menu]: menu,
    [sc.colors]: colors,
    [sc.fonts]: fonts,
    [sc.theme]: theme,
    [sc.topLevelStyles]: topLevelStyles,
    [sc.commonComponents]: commonComponents,
    [sc.multilingualInfo]: multilingualInfo,
    [sc.siteInfo]: siteInfo,
    [sc.version]: version,
    [sc.publicCode]: publicCodeFile,
    [sc.backendCode]: backendCodeFile,
    [sc.collectionSchema]: collectionSchema,
    [sc.corvidPackageJson]: corvidPackageJson,
    [sc.masterPageCode]: masterPageCode
  });
github wix-incubator / corvid / packages / corvid-fake-local-mode-editor / src / editorSiteBuilder.js View on Github external
...siteItems.map(item =>
      sc.matchItem(item, {
        [sc.page]: page,
        [sc.pageWithCode]: pageWithCode,
        [sc.lightbox]: lightbox,
        [sc.lightboxWithCode]: lightboxWithCode,
        [sc.router]: router,
        [sc.menu]: menu,
        [sc.colors]: colors,
        [sc.fonts]: fonts,
        [sc.theme]: theme,
        [sc.topLevelStyles]: topLevelStyles,
        [sc.commonComponents]: commonComponents,
        [sc.multilingualInfo]: multilingualInfo,
        [sc.siteInfo]: siteInfo,
        [sc.version]: version,
        [sc.publicCode]: publicCodeFile,
        [sc.backendCode]: backendCodeFile,
        [sc.collectionSchema]: collectionSchema,
        [sc.corvidPackageJson]: corvidPackageJson,
        [sc.masterPageCode]: masterPageCode
      })
    ),