static truthy(value, message, context)

Validate that the value resolves to truthy using Chai.js (to.be.ok.

  • value {Object} - The value for comparison. If this value is truthy then the test will pass.
  • [message] {String} - The message added to the Errr if the comparison fails.
  • [context] {Object} - Holds different configuration options.
  • [context.noDebug] {Boolean} - If set to true, Maddox will not append debug info in the stacktrace. Defaults to false.
  • returns nothing