mirror of https://github.com/lxndrblz/anatole.git

google-labs-jules[bot]
20 hours ago e330aec7a60c37f089b2df506a2e7557bb97dcaf
test: add jsdom tests for anatole-header.js

- Add jest and jest-environment-jsdom as dev dependencies.
- Update `package.json` to configure jest.
- Create `assets/js/anatole-header.test.js` to cover DOM manipulations
(happy paths, edge cases, missing element tolerance) for header JS.

Co-authored-by: KarelZe <12801659+KarelZe@users.noreply.github.com>
2 files modified
1 files added
5802 ■■■■■ changed files
assets/js/anatole-header.test.js 99 ●●●●● diff | view | raw | blame | history
package-lock.json 5696 ●●●●● diff | view | raw | blame | history
package.json 7 ●●●●● diff | view | raw | blame | history