]> juplo.de Git - demos/kafka/chat/commit
refactor: migrated the tests to jest
authorKai Moritz <kai@juplo.de>
Fri, 10 Oct 2025 20:02:45 +0000 (22:02 +0200)
committerKai Moritz <kai@juplo.de>
Fri, 10 Oct 2025 20:16:00 +0000 (22:16 +0200)
commitb2acbf33467e2d5a5add01e6850d73bf7cbc0a00
tree00cd49235e4cb95029d52bb67821e7ff1b14ee45
parenta543b496a66605ceb2f03dfad2e1b8501958abc8
refactor: migrated the tests to jest

* The https://thymikee.github.io/jest-preset-angular/docs[documentation from jest-preset-angular] was slightly outdated
* Therefore, the configuration was copied from the example https://github.com/thymikee/jest-preset-angular/tree/main/examples/example-app-v20[example-app-v20] of the sources (Version `v15.0.2`)
* The configuration of the example was simplified, using the setup `ems-isolated`
* A *Downgrad* was needed for Angular from `20.3.0` to `20.0.0`
jest-global-mocks.ts [new file with mode: 0644]
jest.config.ts [new file with mode: 0644]
package-lock.json
package.json
setup-jest.ts [new file with mode: 0644]
tsconfig.json
tsconfig.spec.json