Bun

interface

assert.default.AssertOptions

interface AssertOptions

  • diff?: 'simple' | 'full'

    If set to 'full', shows the full diff in assertion errors.

  • strict?: boolean

    If set to true, non-strict methods behave like their corresponding strict methods.