Files
pezkuwi-dev/packages
Satoshi Qazi Muhammed 709c071494 expect: fix toBeNull, add not.toHaveLength and toHaveProperty, toThrow matches as jest does
- toBeNull and not.toBeNull took a parameter named value, which shadowed
  the value under test: .toBeNull() always failed and .not.toBeNull()
  always passed.
- not.toHaveLength and toHaveProperty (dotted or array path, optional
  expected value with asymmetric matchers) were unimplemented stubs.
- toThrow and rejects.toThrow with a string required the message to be
  equal; as in jest, the message now has to contain it. A RegExp matches
  the message and an Error compares messages.
2026-10-10 12:51:13 +04:00
..