ryanmwangi
  • Joined on 2024-09-25
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 12:00:30 +00:00
3d82d61661 fix syntax error
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:56:53 +00:00
adb29222ca stop the server after test
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:55:58 +00:00
ab02271245 check if the merged calendars directory exists befor cleaning it up after tests
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:54:31 +00:00
a61ae491fa test listen on available port
bed191c7b7 declare server variable
Compare 2 commits »
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:05:31 +00:00
11c60cdf38 run the tests in seperate directory
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:03:16 +00:00
3d5f2157a2 make arrow function async
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 11:01:53 +00:00
ed8e3d214c create jest config file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-30 10:58:17 +00:00
c652dbaeb9 Start the server before running the tests and ensure it listens on an available port.
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 23:27:49 +00:00
dcf5c7a4a8 rename jest.config.js to be a common js file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 23:25:42 +00:00
cbd59cd149 create jest config file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 23:24:55 +00:00
207afe1b8e create Babel config file
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 20:51:13 +00:00
6be1456c35 install babel to transpile my test code to enable Jest to understand import statements
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:55:28 +00:00
52b2b8fda5 configure jest
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:54:45 +00:00
e02b3d4c1b install supertest
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:51:55 +00:00
e02f797b46 import app from server.js
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:49:46 +00:00
b86d96b4d6 export app from server.js
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:46:51 +00:00
3920fe5064 set up test for calendars with the overide checked
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:45:32 +00:00
f2888808ec set up test for calendars with a prefix
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:43:25 +00:00
45c2143a9b set up test for time based events
ryanmwangi pushed to master at ryanmwangi/CalMerger 2024-10-29 18:42:19 +00:00
4311619f64 Check if the file was created