Ryan Mwangi
|
3d82d61661
|
fix syntax error
|
2024-10-30 15:00:20 +03:00 |
Ryan Mwangi
|
adb29222ca
|
stop the server after test
|
2024-10-30 14:56:38 +03:00 |
Ryan Mwangi
|
ab02271245
|
check if the merged calendars directory exists befor cleaning it up after tests
|
2024-10-30 14:55:41 +03:00 |
Ryan Mwangi
|
a61ae491fa
|
test listen on available port
|
2024-10-30 14:54:19 +03:00 |
Ryan Mwangi
|
bed191c7b7
|
declare server variable
|
2024-10-30 14:23:44 +03:00 |
Ryan Mwangi
|
11c60cdf38
|
run the tests in seperate directory
|
2024-10-30 14:05:17 +03:00 |
Ryan Mwangi
|
3d5f2157a2
|
make arrow function async
|
2024-10-30 14:03:00 +03:00 |
Ryan Mwangi
|
ed8e3d214c
|
create jest config file
|
2024-10-30 14:00:02 +03:00 |
Ryan Mwangi
|
c652dbaeb9
|
Start the server before running the tests and ensure it listens on an available port.
|
2024-10-30 13:58:05 +03:00 |
Ryan Mwangi
|
e02f797b46
|
import app from server.js
|
2024-10-29 21:51:24 +03:00 |
Ryan Mwangi
|
3920fe5064
|
set up test for calendars with the overide checked
|
2024-10-29 21:46:40 +03:00 |
Ryan Mwangi
|
f2888808ec
|
set up test for calendars with a prefix
|
2024-10-29 21:45:09 +03:00 |
Ryan Mwangi
|
45c2143a9b
|
set up test for time based events
|
2024-10-29 21:43:11 +03:00 |
Ryan Mwangi
|
4311619f64
|
Check if the file was created
|
2024-10-29 21:40:57 +03:00 |
Ryan Mwangi
|
8650d91edb
|
set up response status
|
2024-10-29 21:35:41 +03:00 |
Ryan Mwangi
|
728c73b23d
|
set up test for date based calendar
|
2024-10-29 21:34:45 +03:00 |
Ryan Mwangi
|
b5a692b47c
|
create async function for the tests
|
2024-10-29 21:33:03 +03:00 |
Ryan Mwangi
|
6416685de8
|
Clean up the merged calendars directory after tests
|
2024-10-29 21:32:00 +03:00 |
Ryan Mwangi
|
22f0a05bce
|
Ensure the merged calendars directory exists
|
2024-10-29 21:29:24 +03:00 |
Ryan Mwangi
|
3ddd563eac
|
define MERGED_CALENDARS_DIR
|
2024-10-29 21:27:29 +03:00 |
Ryan Mwangi
|
b810f7c59d
|
import request and express
|
2024-10-29 21:26:17 +03:00 |
Ryan Mwangi
|
310a71459d
|
import request and express
|
2024-10-29 21:24:44 +03:00 |
Ryan Mwangi
|
fde1a78627
|
create calendar.test.js for automated tests
|
2024-10-29 21:23:40 +03:00 |