mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-10-22 03:36:18 +00:00
- 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.