spiegel-keyman/web/src/engine
Marc Durdin 529a49431e maint(developer): make TestCompilerCallbacks usage more consistent and simplify
Simplify usage of `TestCompilerCallbacks` by making it responsible for
the `beforeEach` and `afterEach` incantations itself. There are a couple
of more complex usages of `TestCompilerCallbacks` which have been
excluded from this change on purpose.

Renamed `testCallbacks` to `callbacks` in the one place where it was
different.

Hoist @types/node and @types/mocha because inconsistent versions of
@types/mocha were causing compiler errors with this change.

Also added a cast to `fs.readFileSync` to `Uint8Array` to eliminate
compiler warnings/errors in test files.

Fixes: #15654
Test-bot: skip
2026-03-03 16:44:06 +01:00
..
attachment maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
common/web-utils change(web): remove temp debug shell-script echo statements 2026-02-18 12:59:17 +07:00
dom-utils maint(common): rename and move node-related script functions into node.inc.sh 2025-08-02 13:34:29 +10:00
element-wrappers maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
events maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
interfaces maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
js-processor maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
keyboard maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
keyboard-storage maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
main maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
osk maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00
predictive-text maint(developer): make TestCompilerCallbacks usage more consistent and simplify 2026-03-03 16:44:06 +01:00
sentry-manager maint(web): ensure Web build scripts handle paths with spaces properly 2026-02-18 09:14:30 +07:00