Commit Graph

623 Commits

Author SHA1 Message Date
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
Alex Holliday 9daa680701 Add tests for deleteMonitor 2024-10-14 10:13:54 +08:00
Alex Holliday 5d1ad0d92f Add tests for createMonitor 2024-10-14 09:53:08 +08:00
Alex Holliday a0b651fd24 Added getMoniotrsByTeamId tests 2024-10-14 09:43:47 +08:00
Alex Holliday 73e087982b Add tests for getMonitorsAndSummaryByTeamId 2024-10-11 15:10:54 +08:00
Alex Holliday 586b18d295 Add tests for getMonitorById 2024-10-11 15:07:37 +08:00
Alex Holliday 3e23d97930 Add tests for getMonitorCertificate 2024-10-11 14:59:55 +08:00
Alex Holliday 644363e3bb Add tests for getAllMonitors and getMonitorStatsById 2024-10-11 14:23:35 +08:00
Alex Holliday fbdbf5897e Add missing test case 2024-10-11 14:07:37 +08:00
Alex Holliday 0374f5ad0b Add tests for editMaintenanceWindow 2024-10-11 14:05:37 +08:00
Alex Holliday 9f1deb64d7 Add tests for deleteMaintenanceWindow 2024-10-11 14:01:19 +08:00
Alex Holliday 5d0029f6c7 Add tests for getMaintenanceWindowsByMonitorId 2024-10-11 13:58:11 +08:00
Alex Holliday fb45761331 Add tests for getMaintenanceWindowsByTeamId 2024-10-11 13:53:22 +08:00
Alex Holliday 9641aba401 Add tests for getMaintenanceWindowById 2024-10-11 13:43:16 +08:00
Alex Holliday 9ea9086b9e Add test for createMaintenanceWindow 2024-10-11 13:38:54 +08:00
Alex Holliday 2b019be270 Merge branch 'feat/be/check-controller-tests' into feat/be/tests/maintenance-window-controller 2024-10-11 13:22:38 +08:00
Alex Holliday f62882db01 Merge branch 'feat/be/controller-utils-test' into feat/be/tests/maintenance-window-controller 2024-10-11 13:22:33 +08:00
Alex Holliday 4ce08e05df Add tests for inviteController 2024-10-11 12:42:46 +08:00
Alex Holliday 526ad17641 Add tests for controllerUtils 2024-10-11 11:54:57 +08:00
Alex Holliday 0a805c1383 Remove console log 2024-10-11 11:40:35 +08:00
Alex Holliday 150b4c6f0f Add missing tests for 100% coverage 2024-10-11 11:40:10 +08:00
Alex Holliday ab4cf69222 Add tests for updateCheckTTL 2024-10-11 11:34:05 +08:00
Alex Holliday 14ce25dbc7 Add tests for deleteChecks 2024-10-11 11:00:17 +08:00
Alex Holliday 4276f92bd4 Add tests for getTeamChecks 2024-10-11 10:56:35 +08:00
Alex Holliday 9eb06a477f Add tests for getChecks 2024-10-11 10:49:44 +08:00
Alex Holliday 22a6d2ef2c Add creatCheck test 2024-10-11 10:39:18 +08:00
Alex Holliday 221a34906b add instanbul for coverage 2024-10-10 21:48:17 +08:00
Alex Holliday d757aabd57 Add test for getAllUsers 2024-10-10 21:30:21 +08:00
Alex Holliday 606c799166 Add deleteUser tests 2024-10-10 21:26:43 +08:00
Alex Holliday 387975ae19 Add resetPassword test 2024-10-10 19:34:08 +08:00
Alex Holliday 2a15c1589e Add validateRecovery test 2024-10-10 19:18:25 +08:00
Alex Holliday a430ccc051 Add tests for requestRecovery 2024-10-10 19:10:25 +08:00
Alex Holliday b24208f73e Add checkSuperadminExists test 2024-10-10 18:56:32 +08:00
Alex Holliday 5d9b1dd6ef Add authController.editUser tests, remove unused imports from 2024-10-10 12:16:30 +08:00
Alex Holliday a46f5ae3ab Add tests for authController.registerUser and authController.loginUser 2024-10-10 11:42:33 +08:00
Alex Holliday 485e520dcb Add mocha, chai, and sinon for testing 2024-10-10 11:42:04 +08:00
Alex Holliday 8578304ca4 refactor validation error and general error handling to reduce code duplicatoin 2024-10-10 08:59:44 +08:00
Alex Holliday 6e95d28e27 Implement pausing/resuming maintenance windows 2024-10-09 14:28:44 +08:00
Alex Holliday ad9d735127 implement editing maintenance windows 2024-10-09 14:10:38 +08:00
Alex Holliday e3c0944062 Add route, controller, and DB methods for fetching maintenance window by ID 2024-10-09 12:06:01 +08:00
Alex Holliday 114cfd6cb7 add put route, controller, and db method for maintenance window 2024-10-09 11:33:12 +08:00
Alex Holliday 335098e2a8 implement deleting maintenance window 2024-10-09 11:07:14 +08:00
Alex Holliday f48b769baa Merge remote-tracking branch 'upstream/develop' into feat/maintenance-page 2024-10-08 09:49:26 +08:00
Alex Holliday 4a3636789e Add token expired msg 2024-10-07 13:54:00 +08:00
Alex Holliday 7b65debed6 Populate table 2024-10-04 15:25:41 +08:00
Alex Holliday 68296eccc3 Add getMaintenanceWindowsByTeamId 2024-10-04 13:49:53 +08:00
Alex Holliday 22a0caf919 Fix date/time error in JobQueue 2024-10-04 13:04:18 +08:00
Alex Holliday f5547a1825 add network util method to submit form 2024-10-04 12:39:52 +08:00