Sha256: 546eaa77f9a660bab79e8fdb46cf15c2b22b1716f837ecc0eafb9ca42ab74db5
Contents?: true
Size: 1.42 KB
Versions: 4
Compression:
Stored size: 1.42 KB
Contents
const apiService = { setSiteHandle: jest.fn(), setSiteLocale: jest.fn(), get: jest.fn(), post: jest.fn(), put: jest.fn(), destroy: jest.fn(), } const siteService = { find: jest.fn(), } const themeService = { buildCategories: jest.fn(), } const pageService = { isIndex: jest.fn(), build: jest.fn(), findAll: jest.fn(), findById: jest.fn(), create: jest.fn(), update: jest.fn(), updateSettings: jest.fn(), setVisible: jest.fn(), clone: jest.fn(), destroy: jest.fn(), normalize: jest.fn(), denormalize: jest.fn(), } const sectionService = { calculateMovingIndices: jest.fn(), canBeAddedToPage: jest.fn(), normalize: jest.fn(), build: jest.fn(), getSettings: jest.fn(), buildDefaultBlock: jest.fn(), } const blockService = { encodeToTree: jest.fn(), decodeTree: jest.fn(), } const imageService = { findAll: jest.fn(), find: jest.fn(), create: jest.fn(), destroy: jest.fn(), } const inlineEditingService = { setup: jest.fn(), getMinTop: jest.fn(), updateSectionSetting: jest.fn(), addSection: jest.fn(), removeSection: jest.fn(), updateMoveSection: jest.fn(), } const collectionItemService = { findAll: jest.fn(), } export default { api: apiService, site: siteService, theme: themeService, page: pageService, section: sectionService, block: blockService, image: imageService, inlineEditing: inlineEditingService, collectionItem: collectionItemService, }
Version data entries
4 entries across 4 versions & 1 rubygems