function mountEditor(props = {}) {
  const propsToUse = {
    onLoad() {},
    onSubmit() {},
    onUnload() {},
    articleSlug: '',
    title: '',
    description: '',
    body: '',
    tagList: [],
    inProgress: false,
    params: {},
    ...props,
  }
  return mount(<Editor {...propsToUse} />)
}
// And this is a little domain-specific anyway.
And this is a little domain-specific anyway.
And this is a little domain - specific anyway .
function mountEditor(props = {}) {
  const propsToUse = {
    onLoad() {},
    onSubmit() {},
    onUnload() {},
    articleSlug: '',
    title: '',
    description: '',
    body: '',
    tagList: [],
    inProgress: false,
    params: {},
    ...props,
  }
  return mount(<Editor {...propsToUse} />)
}
function mountEditor ( props = { } ) { const propsToUse = { onLoad ( ) { } , onSubmit ( ) { } , onUnload ( ) { } , articleSlug : '' , title : '' , description : '' , body : '' , tagList : [ ] , inProgress : false , params : { } , ... props , } return mount ( < Editor { ... propsToUse } / > ) }
And this is a little domain-specific anyway.
And this is a little domain - specific anyway .