Tooling phase 2 (#317)
* Tooling phase 2
This migrates remaining packages to new tooling.
Includes a number of cosmetic and quality-of-life upgrades.
Fixes numerous issues exposed or created by new toolchain.
Key bits:
- Migrated all modules to standard base tsconfig
- Migrated all modules to Mocha
- Add various settings to build & test commands
- Added "run" command that behaves similar to ts-node
- Moved much of the mocking from individual tests into centralized locations
- In particular, significantly reworked time management in tests
- Rewrote matter-node.js registration (old way wasn't compatible w/ ESM semantics)
- Convert Shell.js to typescript (new config requires type declarations)
- Move chip testing to chip-testing/ under root
- Completely remove Jest and ts-node dependencies
- Fixed declaration source map paths
- Added logic to hide successful logs in test setup/cleanup
- Migrated matter-node.js setup from module scope to before hooks
- Added utility file to support mocharc.cjs implementations
- Filter noise from Node assert errors in testing
* Update ChipTest.ts
* Update ChipTest.ts
* Update ChipTest.ts
* Imports needs to be in this order
* karma is out
* does not resolve - why?
* package.json cleanup
* We need the real Time and Crypto logic for chip tool tests
* Add new file here too?
* formatting
* install browsers in gha
* Misc. fixes & tweaks
* fix mocharc
* try to cache browser testing files
* Changelog
* Re-add typeVersions
* optimize playwright gha caching
* optimize playwright gha caching
* optimize playwright gha caching
---------
Co-authored-by: Ingo Fischer <github@fischer-ka.de>