chore: Remove assumption that DataAccessors have a root container by default

This commit is contained in:
Joachim Van Herwegen
2020-12-14 15:49:58 +01:00
parent 231349b30d
commit 36eed5d620
12 changed files with 86 additions and 33 deletions

View File

@@ -3,7 +3,7 @@ import { join } from 'path';
import fetch from 'cross-fetch';
import type { HttpServerFactory } from '../../src/server/HttpServerFactory';
import { readableToString } from '../../src/util/StreamUtil';
import { instantiateFromConfig } from '../configs/Util';
import { initServerStore, instantiateFromConfig } from '../configs/Util';
const port = 6003;
const baseUrl = `http://localhost:${port}/`;
@@ -21,6 +21,7 @@ describe('A server with a pod handler', (): void => {
},
) as HttpServerFactory;
server = factory.startServer(port);
await initServerStore(server, baseUrl);
});
afterAll(async(): Promise<void> => {