forked from ryanmwangi/CalMerger
stop the server after test
This commit is contained in:
parent
ab02271245
commit
adb29222ca
|
@ -25,6 +25,8 @@ describe('Calendar Merging API', () => {
|
||||||
if (fs.existsSync(MERGED_CALENDARS_DIR)) {
|
if (fs.existsSync(MERGED_CALENDARS_DIR)) {
|
||||||
fs.rmdirSync(MERGED_CALENDARS_DIR, { recursive: true });
|
fs.rmdirSync(MERGED_CALENDARS_DIR, { recursive: true });
|
||||||
}
|
}
|
||||||
|
// Close the server
|
||||||
|
await new Promise(resolve => server.close(resolve));
|
||||||
});
|
});
|
||||||
|
|
||||||
test('Merge date-based calendar', async () => {
|
test('Merge date-based calendar', async () => {
|
||||||
|
|
Loading…
Reference in New Issue