forked from ryanmwangi/CalMerger
Start the server before running the tests and ensure it listens on an available port.
This commit is contained in:
parent
dcf5c7a4a8
commit
c652dbaeb9
|
@ -6,6 +6,7 @@ import path from 'path';
|
||||||
import app from './server';
|
import app from './server';
|
||||||
|
|
||||||
const MERGED_CALENDARS_DIR = 'calendar';
|
const MERGED_CALENDARS_DIR = 'calendar';
|
||||||
|
let server;
|
||||||
|
|
||||||
describe('Calendar Merging API', () => {
|
describe('Calendar Merging API', () => {
|
||||||
beforeAll(() => {
|
beforeAll(() => {
|
||||||
|
|
Loading…
Reference in New Issue