mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Make all ways to start the server more consistent
This commit is contained in:
@@ -15,15 +15,15 @@ describe('A Solid server', (): void => {
|
||||
|
||||
beforeAll(async(): Promise<void> => {
|
||||
// Using AppRunner here so it is also tested in an integration test
|
||||
app = await new AppRunner().create(
|
||||
{
|
||||
app = await new AppRunner().create({
|
||||
loaderProperties: {
|
||||
mainModulePath: resolveModulePath(''),
|
||||
logLevel: 'error',
|
||||
typeChecking: false,
|
||||
},
|
||||
resolveModulePath('config/default.json'),
|
||||
getDefaultVariables(port, baseUrl),
|
||||
);
|
||||
config: resolveModulePath('config/default.json'),
|
||||
variableBindings: getDefaultVariables(port, baseUrl),
|
||||
});
|
||||
await app.start();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user