Within the cors.spec.ts file there are lines that set the console(log, error, info) to void functions in order to hide them in testing.
However they are never re-assigned.
Fix this issue to re-assign console.log. As well as make sure that purposeful logging throughout the system uses the loglevel package for logging. And also disable this specific log in tests as it might be too noisy.
Within the
cors.spec.ts
file there are lines that set the console(log, error, info) to void functions in order to hide them in testing. However they are never re-assigned.https://github.com/TBD54566975/dwn-server/blob/main/tests/cors.spec.ts#L176-L178
Fix this issue to re-assign console.log. As well as make sure that purposeful logging throughout the system uses the
loglevel
package for logging. And also disable this specific log in tests as it might be too noisy.