diff --git a/src/harness/loggedIO.ts b/src/harness/loggedIO.ts index 888ee2fe2e1..55be4068e83 100644 --- a/src/harness/loggedIO.ts +++ b/src/harness/loggedIO.ts @@ -268,7 +268,7 @@ namespace Playback { const files = []; for (const file of newLog.filesRead) { if (file.result.contentsPath && - !/lib\.d\.ts$/.test(file.result.contentsPath) && + Harness.isDefaultLibraryFile(file.result.contentsPath) && /\.[tj]s$/.test(file.result.contentsPath)) { files.push(file.result.contentsPath); }