Go to repository

Function toHaveAtLeast

Answer if an object has at least all keys in the least. Combine with toHaveNoOtherThan to ensure exact key existence

Parameters

  • actual: unknown
  • keys: string[]

Returns boolean