1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2024-12-23 01:27:14 +02:00

test logging..

This commit is contained in:
Patrik J. Braun 2024-03-26 00:15:58 +01:00
parent 01e6b60aa4
commit fc20126f0e
2 changed files with 3 additions and 1 deletions

View File

@ -117,6 +117,7 @@ export class RenderingMWs {
skipTags: {secret: true} as TAGS
}) as PrivateConfigClass));
console.log(originalConfJSON);
const message = new Message<PrivateConfigClass>(
null,
originalConfJSON

View File

@ -22,7 +22,7 @@ describe('SettingsRouter', () => {
await fs.promises.rm(TestHelper.TMP_DIR, {recursive: true, force: true});
Config.Database.type = DatabaseType.sqlite;
Config.Database.dbFolder = TestHelper.TMP_DIR;
Config.Extensions.enabled = false;
Config.Extensions.folder = 'notexisting';
ProjectPath.reset();
server = new Server(false);
@ -48,6 +48,7 @@ describe('SettingsRouter', () => {
attachVolatile: true,
skipTags: {secret: true} as TAGS
})));
console.log(originalJSON);
const result = await chai.request(server.Server)
.get(Config.Server.apiPath + '/settings');