test(calendar.test.js):Set environment variable for the test directory

This commit is contained in:
Ryan Mwangi 2024-11-04 21:20:33 +03:00
parent 5cfd0955f1
commit b7a419f9cb
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@ import fs from 'fs';
import path from 'path';
import app from './server';
const TEST_MERGED_CALENDARS_DIR = path.join(__dirname, 'temp_test_calendar');
const MERGED_CALENDARS_DIR = 'calendar';
const TEST_CALENDARS_DIR = 'test_calendars';
let server;