1
0
Fork 0

test: Change the working directory to the test-specific directory

This commit is contained in:
Ryan Mwangi 2024-11-06 15:03:34 +03:00
parent e8dbc7a0b4
commit 488106b299
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ let server;
describe('Calendar Merging API', () => {
beforeAll(async () => {
// Change the working directory to the test-specific directory
process.chdir(__dirname);
process.chdir(path.join(__dirname, 'temp_test_calendar'));
// Start the server
server = app.listen(0);
// Ensure the test merged calendars directory exists