UNPKG

passbolt-styleguide

Version:

Passbolt styleguide contains common styling assets used by the different sites, plugin, etc.

27 lines (24 loc) 604 B
/** * Default props * @returns {object} */ import UserSettings from "../../../../shared/lib/Settings/UserSettings"; import userSettingsFixture from "../../../test/fixture/Settings/userSettings"; export function defaultProps() { const props = { context: { userSettings: new UserSettings(userSettingsFixture), port: { request: () => Promise.resolve(0) } }, userSettingsContext: { onUpdatePassphraseRequested: jest.fn(), onGoToIntroductionPassphraseRequested: jest.fn(), }, dialogContext: { open: jest.fn() } }; return props; }