mirror of
https://github.com/xuthus83/pigallery2.git
synced 2024-11-03 21:04:03 +08:00
remove debug logging
This commit is contained in:
parent
6149e869d1
commit
663b5bff95
@ -117,8 +117,6 @@ export class RenderingMWs {
|
|||||||
skipTags: {secret: true} as TAGS
|
skipTags: {secret: true} as TAGS
|
||||||
}) as PrivateConfigClass));
|
}) as PrivateConfigClass));
|
||||||
|
|
||||||
console.log('renderConfig');
|
|
||||||
console.log(JSON.stringify(originalConfJSON,null,4));
|
|
||||||
const message = new Message<PrivateConfigClass>(
|
const message = new Message<PrivateConfigClass>(
|
||||||
null,
|
null,
|
||||||
originalConfJSON
|
originalConfJSON
|
||||||
|
@ -48,8 +48,7 @@ describe('SettingsRouter', () => {
|
|||||||
attachVolatile: true,
|
attachVolatile: true,
|
||||||
skipTags: {secret: true} as TAGS
|
skipTags: {secret: true} as TAGS
|
||||||
})));
|
})));
|
||||||
console.log(JSON.stringify(originalJSON,null,4));
|
|
||||||
/*
|
|
||||||
const result = await chai.request(server.Server)
|
const result = await chai.request(server.Server)
|
||||||
.get(Config.Server.apiPath + '/settings');
|
.get(Config.Server.apiPath + '/settings');
|
||||||
|
|
||||||
@ -57,7 +56,7 @@ describe('SettingsRouter', () => {
|
|||||||
result.body.should.be.a('object');
|
result.body.should.be.a('object');
|
||||||
should.equal(result.body.error, null);
|
should.equal(result.body.error, null);
|
||||||
(result.body.result as ServerConfig).Environment.upTime = null;
|
(result.body.result as ServerConfig).Environment.upTime = null;
|
||||||
result.body.result.should.deep.equal(originalJSON);*/
|
result.body.result.should.deep.equal(originalJSON);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user