mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
chore: Remove assumption that DataAccessors have a root container by default
This commit is contained in:
@@ -2,7 +2,7 @@ import type { Server } from 'http';
|
||||
import fetch from 'cross-fetch';
|
||||
import WebSocket from 'ws';
|
||||
import type { HttpServerFactory } from '../../src/server/HttpServerFactory';
|
||||
import { instantiateFromConfig } from '../configs/Util';
|
||||
import { initServerStore, instantiateFromConfig } from '../configs/Util';
|
||||
|
||||
const port = 6001;
|
||||
const serverUrl = `http://localhost:${port}/`;
|
||||
@@ -20,6 +20,7 @@ describe('A server with the Solid WebSockets API behind a proxy', (): void => {
|
||||
},
|
||||
) as HttpServerFactory;
|
||||
server = factory.startServer(port);
|
||||
await initServerStore(server, serverUrl, headers);
|
||||
});
|
||||
|
||||
afterAll(async(): Promise<void> => {
|
||||
|
||||
Reference in New Issue
Block a user