Commit Graph

82 Commits

Author SHA1 Message Date
Mert Şişmanoğlu
fcda60fe5b fix(test): Use 'npm run lint-fix' to fix 'mocha/no-mocha-arrows' like lint warnings
- ref: https://mochajs.org/#arrow-functions
2024-12-29 14:25:59 +03:00
Mert Şişmanoğlu
e84a7b4a2e fix: Update references from Bluewave Uptime to Checkmate in email templates and authController 2024-12-22 00:15:05 +03:00
Alex Holliday
58be0c018b rewrite monitor resolution check, update tests 2024-11-20 10:37:01 +08:00
Alex Holliday
75ca6f3239 Add tests 2024-11-11 14:25:44 +08:00
Alex Holliday
792de1105f Add tests for new controller and DB methods, add missing statusService test 2024-11-06 11:18:03 +08:00
Alex Holliday
b171b540b9 remove empty notification tests 2024-10-28 14:17:38 +08:00
Alexander Holliday
699bea5806 Merge branch 'develop' into fix/be/refactor-auth-controller 2024-10-26 09:39:13 +08:00
Alexander Holliday
3275bc49d0 Merge pull request #1058 from bluewave-labs/feat/be/logger-improvement
feat/be/logger improvement
2024-10-25 09:33:47 +08:00
Alex Holliday
4601d46371 update tests 2024-10-24 15:28:21 +08:00
Alex Holliday
8eef831794 update tests 2024-10-24 12:00:25 +08:00
Alex Holliday
2c408063ad update tests 2024-10-24 11:56:40 +08:00
Alex Holliday
084315c377 Update tests 2024-10-24 11:37:24 +08:00
Alex Holliday
86eaae1754 Fix test to expect 401 instead of 403 2024-10-24 11:06:40 +08:00
Alex Holliday
73dcc3f4ed Fix test for deleteUser 2024-10-24 11:06:05 +08:00
Rushi Gandhi
af685f3c8b Merge branch 'develop' into 915-be-add-new-endpoint-for-refreshing-access-token 2024-10-22 10:26:49 +05:30
Alex Holliday
7f95b061ed Refactor refreshAuthToken, add tests for coverage 2024-10-19 17:18:35 +08:00
Rushi Gandhi
7c24136e6a Add testcases for new endpoint 2024-10-18 14:55:41 +05:30
om-3004
34a13530b3 Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-18 11:39:07 +05:30
Alexander Holliday
59392d0194 Merge pull request #975 from bluewave-labs/fix/be/ssl-checker
Add ssl-checker, refactor fetchMonitorCertificate
2024-10-18 10:05:10 +08:00
om-3004
ff6051b6b0 Update test case for url resolution to make it more specific 2024-10-17 16:59:49 +05:30
om-3004
aee7e02587 Add validation for monitor URL and update test case and api documentation accordingly 2024-10-17 12:37:03 +05:30
om-3004
7f0d5d4255 Update test case to check for the specific errors and remove test case for empty URL 2024-10-17 11:20:54 +05:30
om-3004
5d3e1796e0 Update the test name to follow the naming convention 2024-10-17 11:09:23 +05:30
om-3004
0f763e7913 promisify the resolve method to pass the error to the middleware and updat test cases accordingly 2024-10-17 11:06:46 +05:30
om-3004
7ec5e64f6f Remove unused imports 2024-10-17 10:50:19 +05:30
om-3004
afe7c9047c Handle imports exports format check resolution tests code 2024-10-17 10:47:34 +05:30
om-3004
c598278c6f Merge branch 'develop' into enhancement/check-if-url-resolves 2024-10-17 10:35:41 +05:30
om-3004
6715a8b500 Refactor code for check endpoint and update test cases accordingly 2024-10-17 10:02:01 +05:30
Alex Holliday
fd2d16cf78 Format all files on BE with perttier config 2024-10-17 12:07:30 +08:00
Alex Holliday
79cf169ede Add ssl-checker, refactor fetchMonitorCertificate 2024-10-17 11:57:37 +08:00
Alex Holliday
63e39ed50d Resolve conflicts, update tests 2024-10-17 10:54:31 +08:00
Alex Holliday
81f1fe4694 Merge branch 'develop' into feat/be/esm 2024-10-17 10:42:57 +08:00
om-3004
d1e65f53ba Add test cases for checking monitor endpoint resolution 2024-10-16 21:12:51 +05:30
Rushi Gandhi
7a3d2619f6 add testcases for refresh token 2024-10-16 12:46:44 +05:30
Alex Holliday
4a05157eb3 Fix coverage for auth 2024-10-16 14:17:35 +08:00
Alex Holliday
c356843799 Add tests for fetchCertificates 2024-10-16 13:22:39 +08:00
Alex Holliday
896b3437e5 Migrate tests to ESM 2024-10-15 14:00:24 +08:00
Alex Holliday
75238978e9 updated tests for full coverage 2024-10-14 15:23:38 +08:00
Alex Holliday
f34b8466cd Add tests for updateAppSettings 2024-10-14 13:38:53 +08:00
Alex Holliday
e4c12bb3d9 Add tests for getAppSettings 2024-10-14 13:34:11 +08:00
Alex Holliday
98136c5fb1 fixed accidentally nested test 2024-10-14 13:27:03 +08:00
Alex Holliday
fde9303b8f Add tests for obliterate 2024-10-14 13:23:40 +08:00
Alex Holliday
b063fa267a add test for addJob 2024-10-14 13:17:08 +08:00
Alex Holliday
61518f898b Add queue controller tests for getMetrics and getJobs 2024-10-14 13:13:36 +08:00
Alex Holliday
2ac60441a3 Fix deleteAllMonitors test 2024-10-14 11:59:15 +08:00
Alex Holliday
27d5bce9e3 Add tests for complete coverage, fix active -> isActive 2024-10-14 11:57:39 +08:00
Alex Holliday
607b16d1cd Add tests for addDemoMonitors 2024-10-14 11:36:49 +08:00
Alex Holliday
516212b1b0 Add tests for pauseMonitor method 2024-10-14 11:29:04 +08:00
Alex Holliday
2cf4c93cb0 Add tests for editMonitor 2024-10-14 11:18:23 +08:00
Alex Holliday
bdde060f7f Add tests for deleteAllMonitors 2024-10-14 11:06:45 +08:00