module.exports = {
  Some: (value) => Object({ value, hasValue: true }),
  None: Object()
}

module.exports = {
  Some: (value) => ({ value, hasValue: true }),
  None: {},
}

Use object literal syntax instead of Object constructor
Use object literal syntax instead of Object constructor
