January 20th, 2025
New
Checkly now supports tsconfig.paths
(and tsconfig.baseUrl
) for checks and tests deployed using the Checkly CLI.
Specifically, paths
now get bundled into your test sessions and checks when running npx checkly test
and npx checkly deploy
.
If you rely on paths
already to simplify your imports
and requires
, we heard you. We know how troublesome it is to convert all the imports to a relative path instead—that’s why paths
are now properly supported!
You can use TypeScript config paths
using the latest CLI and Agent version, and it’s supported since:
For those less familiar with paths
, please check the TS config: paths documentation.
Using paths
you can declare how TypeScript should resolve an import in your requires
and imports
!
If you’ve got any questions please join our Slack community.
Happy monitoring!