Ensure the merged calendars directory exists
This commit is contained in:
parent
3ddd563eac
commit
22f0a05bce
|
@ -5,3 +5,13 @@ import fs from 'fs';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
|
|
||||||
const MERGED_CALENDARS_DIR = 'calendar';
|
const MERGED_CALENDARS_DIR = 'calendar';
|
||||||
|
|
||||||
|
describe('Calendar Merging API', () => {
|
||||||
|
beforeAll(() => {
|
||||||
|
// Ensure the merged calendars directory exists
|
||||||
|
if (!fs.existsSync(MERGED_CALENDARS_DIR)) {
|
||||||
|
fs.mkdirSync(MERGED_CALENDARS_DIR);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
Loading…
Reference in New Issue