forked from ryanmwangi/CalMerger
load offline calender files
This commit is contained in:
parent
d2c42836b9
commit
83ea893da0
|
@ -29,6 +29,10 @@ describe('Calendar Merging API', () => {
|
||||||
await new Promise(resolve => server.close(resolve));
|
await new Promise(resolve => server.close(resolve));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
const loadCalendarFile = (filename) => {
|
||||||
|
return path.join(__dirname, TEST_CALENDARS_DIR, filename);
|
||||||
|
};
|
||||||
|
|
||||||
test('Merge date-based calendar', async () => {
|
test('Merge date-based calendar', async () => {
|
||||||
const response = await request(server)
|
const response = await request(server)
|
||||||
.post('/merge')
|
.post('/merge')
|
||||||
|
|
Loading…
Reference in New Issue