ManageIQ/manageiq-ui-classic

View on GitHub
app/javascript/spec/vm-common-rename-form/__snapshots__/vm-common-rename-form.spec.js.snap

Summary

Maintainability
Test Coverage
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`VM common form component should render editing form variant 1 1`] = `
<Connect(MiqFormRenderer)
  onCancel={[Function]}
  onSubmit={[Function]}
  schema={
    Object {
      "fields": Array [
        Object {
          "component": "text-field",
          "id": "name",
          "isRequired": true,
          "label": "Name",
          "maxLength": 128,
          "name": "name",
          "validate": Array [
            Object {
              "type": "required",
            },
          ],
        },
      ],
    }
  }
/>
`;

exports[`VM common form component should render editing form variant 2 1`] = `
<Provider
  store={
    Object {
      "asyncReducers": Object {
        "FormButtons": [Function],
        "miqCustomTabReducer": [Function],
        "notificationReducer": [Function],
      },
      "dispatch": [Function],
      "getState": [Function],
      "injectReducers": [Function],
      "replaceReducer": [Function],
      "subscribe": [Function],
      Symbol(observable): [Function],
    }
  }
>
  <VmCommonRenameForm
    vmId="4351"
  />
</Provider>
`;