forked from ryanmwangi/CalMerger
add logging to ensure file creation logic is working
This commit is contained in:
parent
3d62557fa3
commit
88ab9c53a1
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ describe('Calendar Merging API', () => {
|
|||
|
||||
test('Merge time-based calendar', async () => {
|
||||
const response = await request(server)
|
||||
.post('/merge')
|
||||
.post('/merge')
|
||||
.send({
|
||||
linkGroupName: 'Time Based Calendar',
|
||||
calendars: [
|
||||
|
|
|
@ -54,7 +54,7 @@ app.post('/merge', async (req, res) => {
|
|||
};
|
||||
})
|
||||
.catch((error) => {
|
||||
console.error(error);
|
||||
console.error(`Error fetching calendar from ${calendar.url}:`, error);
|
||||
return null;
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue