Some of the test refactoring and readable baselining (#56075)

This commit is contained in:
Sheetal Nandi
2023-10-12 10:39:40 -07:00
committed by GitHub
parent a8546cec3d
commit feeb30dec9
333 changed files with 38004 additions and 24678 deletions
+2 -1
View File
@@ -24,6 +24,7 @@ import {
InstallTypingHost,
nowString,
PackageInstalledResponse,
stringifyIndented,
TypesRegistryResponse,
TypingInstallerRequestUnion,
TypingInstallerResponseUnion,
@@ -203,7 +204,7 @@ export class NodeTypingsInstaller extends TypingsInstaller {
protected sendResponse(response: TypingInstallerResponseUnion) {
if (this.log.isEnabled()) {
this.log.writeLine(`Sending response:\n ${JSON.stringify(response)}`);
this.log.writeLine(`Sending response:${stringifyIndented(response)}`);
}
process.send!(response); // TODO: GH#18217
if (this.log.isEnabled()) {