19 Commits
Author SHA1 Message Date
Alexandr GarbuzovandAlexandr c43fd65bdd refactor: move svg rendering related code into separate module (#4588)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-16 23:44:17 +03:00
Ophelia GoldsteinandAlexandr 90955dca00 fix: remove repository link display on missing param errors (#4560)
* fix: remove repository link display on missing param errors

* fix tests

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-12 23:14:27 +03:00
dependabot[bot]dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Alexandr
6d6b87c359 build(deps-dev): bump jest from 29.7.0 to 30.2.0 (#4524)
* build(deps-dev): bump jest from 29.7.0 to 30.2.0

Bumps [jest](https://github.com/jestjs/jest/tree/HEAD/packages/jest) from 29.7.0 to 30.2.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v30.2.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-version: 30.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* migration

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-10 19:20:14 +03:00
0afa6c4e78 refactor: reorganize cache TTL constants (#4550)
* refactor: reorganize cache TTL constants

* Update tests/wakatime.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-09 03:41:02 +03:00
Ophelia GoldsteinandAlexandr 879463b14e refactor: organize imports inside tests files (#4542)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-08 01:58:06 +03:00
Ophelia GoldsteinandAlexandr 12caf46c6d fix: remove duplicate jest globals imports inside tests files (#4541)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-08 01:42:04 +03:00
e9d0e8fd17 refactor: named arguments for render error function (#4537)
* refactor: named arguments for render error function

* Update tests/api.test.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-10-07 23:21:18 +03:00
Ophelia GoldsteinandAlexandr f7920901b6 refactor: improve cache control headers formatting (#4536)
Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-07 22:44:33 +03:00
Alexandr GarbuzovandAlexandr 09627ce715 refactor: move cache headers logic into reusable functions (#4533)
* refactor: move cache headers logic into reusable functions

* dev

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
2025-10-07 00:13:21 +03:00
Alexandr Garbuzov dd7582db8f refactor: fix cards files names by removing duplicating postfix (#4376) 2025-08-24 17:14:18 +03:00
Alexandr Garbuzov 6b457d04f1 tests: return cache tests which were removed in 53e4041 (#4368) 2025-08-24 16:43:02 +03:00
anuraghazra 53e40413e7 chore: update 2024-10-11 23:10:49 +05:30
Alexandr Garbuzov 2ee803fc16 feature: extend default card cache time to 6 hours (#3242)
* feature: extend default card cache time to 8 hours

* reduce to six hours
2023-09-19 11:54:27 +02:00
Alexandr Garbuzov 1c91d1ac43 tests: add gist endpoint proper cache header test (#3152) 2023-08-27 09:55:02 +02:00
Alexandr Garbuzov 4cf33ad1bf Tests: Add gist endpoint wrong locale test (#3127) 2023-08-22 09:03:59 +02:00
Alexandr Garbuzov 4e69e3a358 Tests: Add gist endpoint not found test (#3110) 2023-08-21 09:07:47 +02:00
Alexandr Garbuzov 03b0adc8b7 Tests: Add gist endpoint missing id param test (#3106) 2023-08-20 09:58:48 +02:00
Alexandr Garbuzov 2e619cc8a8 feat(gist): handle missing param error (#3101) 2023-08-19 08:35:52 +02:00
Alexandr Garbuzov ea79314a85 Tests: Cover gist endpoint (#3097) 2023-08-18 09:45:01 +02:00