From cfdccf40c831b7efd9755a82854b85a27430dc03 Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Fri, 12 Jun 2015 17:33:29 -0700 Subject: [PATCH] Never mess with the file list in tests. --- src/harness/harness.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/harness/harness.ts b/src/harness/harness.ts index fe8588aa58..6db8d9c00e 100644 --- a/src/harness/harness.ts +++ b/src/harness/harness.ts @@ -970,9 +970,6 @@ module Harness { options.module = options.module || ts.ModuleKind.None; options.newLine = options.newLine || ts.NewLineKind.CarriageReturnLineFeed; options.noErrorTruncation = true; - if (lightMode) { - options.skipDefaultLibCheck = true; - } if (settingsCallback) { settingsCallback(null); @@ -991,11 +988,6 @@ module Harness { var fileOutputs: GeneratedFile[] = []; var programFiles = inputFiles.concat(includeBuiltFiles).map(file => file.unitName); - if (!options.noLib) { - // Unless the user doesn't want a default lib at all, - // always push the default lib in *last* to normalize the type/symbol baselines. - programFiles.push(defaultLibFileName); - } var compilerHost = createCompilerHost( inputFiles.concat(includeBuiltFiles).concat(otherFiles),