UNPKG

@rocket.chat/onboarding-ui

Version:

Set of components and functions for the onboarding experience on Rocket.Chat

25 lines 903 B
"use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const react_1 = require("@testing-library/react"); const CreateFirstMemberForm_1 = __importDefault(require("./CreateFirstMemberForm")); const onSubmit = jest.fn(); const onBackButtonClick = jest.fn(); const validateUsername = jest.fn(); const validatePassword = jest.fn(); const props = { currentStep: 1, stepCount: 1, organizationName: 'Kapai', onSubmit, onBackButtonClick, validateUsername, validatePassword, }; it('renders without crashing', () => { (0, react_1.render)((0, jsx_runtime_1.jsx)(CreateFirstMemberForm_1.default, { ...props })); }); //# sourceMappingURL=CreateFirstMemberForm.spec.js.map