huridocs/uwazi

View on GitHub
app/react/Templates/components/specs/__snapshots__/MetadataTemplate.spec.js.snap

Summary

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

exports[`MetadataTemplate mapStateToProps should select defaultColor based on template index if template already exists 1`] = `"#A03AB1"`;

exports[`MetadataTemplate mapStateToProps should select next available template color as defaultColor for new template 1`] = `"#A03AB1"`;

exports[`MetadataTemplate render() should render template color field 1`] = `
<DefaultConnectedControl
  component={[Function]}
  defaultValue="#112233"
  mapProps={
    Object {
      "defaultValue": [Function],
    }
  }
  model=".color"
/>
`;