mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
test logging..
This commit is contained in:
parent
01e6b60aa4
commit
fc20126f0e
@ -117,6 +117,7 @@ export class RenderingMWs {
|
|||||||
skipTags: {secret: true} as TAGS
|
skipTags: {secret: true} as TAGS
|
||||||
}) as PrivateConfigClass));
|
}) as PrivateConfigClass));
|
||||||
|
|
||||||
|
console.log(originalConfJSON);
|
||||||
const message = new Message<PrivateConfigClass>(
|
const message = new Message<PrivateConfigClass>(
|
||||||
null,
|
null,
|
||||||
originalConfJSON
|
originalConfJSON
|
||||||
|
@ -22,7 +22,7 @@ describe('SettingsRouter', () => {
|
|||||||
await fs.promises.rm(TestHelper.TMP_DIR, {recursive: true, force: true});
|
await fs.promises.rm(TestHelper.TMP_DIR, {recursive: true, force: true});
|
||||||
Config.Database.type = DatabaseType.sqlite;
|
Config.Database.type = DatabaseType.sqlite;
|
||||||
Config.Database.dbFolder = TestHelper.TMP_DIR;
|
Config.Database.dbFolder = TestHelper.TMP_DIR;
|
||||||
Config.Extensions.enabled = false;
|
Config.Extensions.folder = 'notexisting';
|
||||||
ProjectPath.reset();
|
ProjectPath.reset();
|
||||||
|
|
||||||
server = new Server(false);
|
server = new Server(false);
|
||||||
@ -48,6 +48,7 @@ describe('SettingsRouter', () => {
|
|||||||
attachVolatile: true,
|
attachVolatile: true,
|
||||||
skipTags: {secret: true} as TAGS
|
skipTags: {secret: true} as TAGS
|
||||||
})));
|
})));
|
||||||
|
console.log(originalJSON);
|
||||||
|
|
||||||
const result = await chai.request(server.Server)
|
const result = await chai.request(server.Server)
|
||||||
.get(Config.Server.apiPath + '/settings');
|
.get(Config.Server.apiPath + '/settings');
|
||||||
|
Loading…
Reference in New Issue
Block a user