hyperjumptech / monika

Monika is a command line application to monitor every part of your web app using a simple YAML configuration file. Get alert not only when your site is down but also when it's slow.
https://monika.hyperjump.tech
MIT License
605 stars 67 forks source link

feat(native fetch): create --experimental-fetch as toggle feature #1240

Closed syamsudotdev closed 9 months ago

syamsudotdev commented 9 months ago

Monika Pull Request (PR)

This PR resolves #1237

What feature does this PR add

  1. Create --experimental-fetch as toggle feature flag to change HTTP client

How did you implement

  1. Added new flag --experimental-fetch
  2. Added new tests for startup message

How to test

  1. npm run test
  2. Compare startup message npm run start with npm run start -- --experimental-fetch

Screenshot

image

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 63.49%. Comparing base (d96b3e1) to head (8fd3274).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1240 +/- ## ========================================== + Coverage 63.47% 63.49% +0.02% ========================================== Files 111 111 Lines 3302 3304 +2 Branches 568 569 +1 ========================================== + Hits 2096 2098 +2 Misses 1016 1016 Partials 190 190 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.