test/context/index.js
/** Prepares notifications for snapshot-testing. */
Prepares notifications for snapshot-testing.
Prepares notifications for snapshot - testing .
clearNots(notifications) {
    return notifications.map((v) => {
      if (v.error) v.error = v.error.message
      delete v.result
      return v
    })
  }
clearNots ( notifications ) { return notifications . map ( ( v ) => { if ( v . error ) v . error = v . error . message delete v . result return v } ) }
Prepares notifications for snapshot-testing.
Prepares notifications for snapshot - testing .