mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
- Also fix issue where integration tests were making actual network requests - this also slightly speeds up tests - Fixes issues where there were JS errors thrown during tests due to incorrect mocks, causing confusion when adding/fixing other tests Before (note: too much content to even see all tests) https://github.com/user-attachments/assets/346bb57d-aa64-4a62-b666-3cf47fcc2a6c After: https://github.com/user-attachments/assets/f6379a93-2d1d-4f12-a467-02d874f98de6 Fixes HDX-3165 |
||
|---|---|---|
| .. | ||
| src | ||
| .env.test | ||
| CHANGELOG.md | ||
| eslint.config.mjs | ||
| jest.config.js | ||
| jest.int.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| tsup.config.ts | ||
How to test the package with HyperDX app/api
- Run
yarn buildin the root directory of this project (packages/common-utils) - Run
yarn devin the root directory of app/api project (packages/app,api) - You should be able to test utils with the app