From 399b60ab102b0cc9a2e2c9b8570dfc061ff89647 Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 10 Apr 2020 15:00:05 -0700 Subject: [PATCH] Fix test baselines --- .../expectedOutput-3.8/output.txt | 14 ++++++- .../expectedOutput-transpile-3.8/output.txt | 37 ------------------- 2 files changed, 13 insertions(+), 38 deletions(-) diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.txt index d23aa7e61..2cfad04da 100644 --- a/test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.txt +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.txt @@ -7,5 +7,17 @@ Entrypoint main = bundle.js ERROR in src\error2.js ./src/error2.js -[tsl] ERROR in src\error2.js(4,10) +[tsl] ERROR in src\error2.js(4,10) + TS2339: Property 'bar' does not exist on type 'Class2'. + + Asset Size Chunks Chunk Names +bundle.js 5.15 KiB main main +Entrypoint main = bundle.js +[./src/error1.js] 265 bytes {main} +[./src/error2.js] 278 bytes {main} [1 error] +[./src/index.js] 207 bytes {main} [built] + +ERROR in src\error2.js +./src/error2.js +[tsl] ERROR in src\error2.js(4,10)  TS2339: Property 'bar' does not exist on type 'Class2'. \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/output.txt index 71c85996c..af67a7143 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/output.txt @@ -20,43 +20,6 @@ ERROR in [tsl] ERROR in [36 ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5)  TS2322: Type 'false' is not assignable to type 'string'. -ERROR in ./lib/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:87:18) - at successLoader (dist\index.js:73:9) - at Object.loader (dist\index.js:24:5) - @ ./app.ts 3:12-28 - -ERROR in ./utils/index.ts -Module build failed (from /index.js): -Error: TypeScript emitted no output for utils\index.ts. The most common cause for this is having errors when building referenced projects. - at makeSourceMapAndFinish (dist\index.js:87:18) - at successLoader (dist\index.js:73:9) - at Object.loader (dist\index.js:24:5) - @ ./app.ts 4:14-32 - - Asset Size Chunks Chunk Names -bundle.js 5.57 KiB main main -Entrypoint main = bundle.js -[./app.ts] 218 bytes {main} [2 errors] -[./lib/index.ts] 493 bytes {main} [built] [failed] [3 errors] -[./utils/index.ts] 495 bytes {main} [built] [failed] [1 error] - -ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5) - TS2322: Type 'false' is not assignable to type 'string'. - -ERROR in [tsl] ERROR in indirectWithError\fileWithError.ts(2,5) - TS2322: Type 'false' is not assignable to type 'string'. - @ ./app.ts 3:12-28 - -ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5) - TS2322: Type 'false' is not assignable to type 'string'. - -ERROR in [tsl] ERROR in lib\fileWithError.ts(2,5) - TS2322: Type 'false' is not assignable to type 'string'. - @ ./app.ts 3:12-28 - ERROR in ./lib/index.ts Module build failed (from /index.js): Error: TypeScript emitted no output for lib\index.ts. The most common cause for this is having errors when building referenced projects.