mirror of
https://github.com/pezkuwichain/pezkuwi-dev.git
synced 2026-10-21 19:26:18 +00:00
71c6f83ba0d4886dbd0d3ee4c7826bf3e4fc00e9
.toEqual compared with assert.deepEqual and never looked at matchers, so expect(x).toEqual(expect.arrayContaining(...)) or .toEqual(expect.stringContaining(...)) always failed; matchers only worked inside toHaveBeenCalledWith. arrayContaining was also typed to take a string and checked value.includes(theWholeArray). .toEqual (and .not.toEqual) now apply matchers wherever they appear in the expected value, with the previous deepEqual unchanged when there are none; arrayContaining asserts that every expected entry equals (or matches) one of the array's entries. Seven new cases; with the old .toEqual six of them fail.
@pezkuwi/dev
A collection of shared CI scripts and development environment (configuration, dependencies) used by all @pezkuwi projects.
Included here -
- @pezkuwi/dev Common base configurations for our TypeScript projects
- @pezkuwi/dev-test A Jest-like global environment for usage alongside
node:test - @pezkuwi/dev-ts An ESM loader for TS environments
Languages
JavaScript
71.7%
TypeScript
25.5%
Shell
2.8%