Ability to configure whether to log http requests (#149)

This commit is contained in:
Simon J
2023-03-12 09:21:49 +11:00
committed by GitHub
parent 2941f6f595
commit e78b6c4fbc
4 changed files with 12 additions and 1 deletions

View File

@@ -270,6 +270,15 @@ describe("config", () => {
expect(config().authTimeout).toEqual("33s");
});
});
describe("logRequests", () => {
describeBooleanConfigValue(
"logRequests",
"BNB_SERVER_LOG_REQUESTS",
false,
(config) => config.logRequests
);
});
describe("sonos", () => {
describe("serviceName", () => {