forked from ryanmwangi/CalMerger
test: Change the working directory to the test-specific directory
This commit is contained in:
parent
e8dbc7a0b4
commit
488106b299
|
@ -16,7 +16,7 @@ let server;
|
||||||
describe('Calendar Merging API', () => {
|
describe('Calendar Merging API', () => {
|
||||||
beforeAll(async () => {
|
beforeAll(async () => {
|
||||||
// Change the working directory to the test-specific directory
|
// Change the working directory to the test-specific directory
|
||||||
process.chdir(__dirname);
|
process.chdir(path.join(__dirname, 'temp_test_calendar'));
|
||||||
// Start the server
|
// Start the server
|
||||||
server = app.listen(0);
|
server = app.listen(0);
|
||||||
// Ensure the test merged calendars directory exists
|
// Ensure the test merged calendars directory exists
|
||||||
|
|
Loading…
Reference in New Issue