From 63dcdef6cf062fd0f0d83ca8758ad8bbf730b519 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Wed, 25 Oct 2017 22:10:16 -0700 Subject: [PATCH] Use minimal lib for projects tests (#19488) --- src/harness/virtualFileSystemWithWatch.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/harness/virtualFileSystemWithWatch.ts b/src/harness/virtualFileSystemWithWatch.ts index 1518e6ed4c6..d6b1fc1a771 100644 --- a/src/harness/virtualFileSystemWithWatch.ts +++ b/src/harness/virtualFileSystemWithWatch.ts @@ -1,10 +1,17 @@ /// namespace ts.TestFSWithWatch { - const { content: libFileContent } = Harness.getDefaultLibraryFile(Harness.IO); export const libFile: FileOrFolder = { path: "/a/lib/lib.d.ts", - content: libFileContent + content: `/// +interface Boolean {} +interface Function {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array {}` }; export const safeList = {