refactor(monitor): address PR feedback for customUpCodes

Add HttpStatusCode types and simplify provider logic
This commit is contained in:
harsh-aghara committed 2026-06-03 23:39:26 +05:30
1 parent 87a6640c1d
commit 372fc9869b
5 files changed
+23 -12

No files matched your search

@@ -56,6 +56,7 @@ const makeMonitor = (overrides?: Partial<Monitor>): Monitor =>
useAdvancedMatching: false,
matchMethod: undefined,
expectedValue: undefined,
customUpCodes: [],
...overrides,
}) as Monitor;