You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('Resolution information of ('+moduleNameToString(moduleKind)+'): '+testCaseFileName,()=>{
360
367
Harness.Baseline.runBaseline('Resolution information of ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.json',()=>{
it('Errors for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,()=>{
372
+
373
+
it('Errors for ('+moduleNameToString(moduleKind)+'): '+testCaseFileName,()=>{
374
+
if(compilerResult.errors.length){
367
375
Harness.Baseline.runBaseline('Errors for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.errors.txt',()=>{
368
376
returngetErrorsBaseline(compilerResult);
369
377
});
370
-
});
371
-
}
378
+
}
379
+
});
380
+
381
+
382
+
it('Baseline of emitted result ('+moduleNameToString(moduleKind)+'): '+testCaseFileName,()=>{
it('Baseline of emitted result ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,()=>{
376
386
Harness.Baseline.runBaseline('Baseline of emitted result ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+outputFile.fileName,()=>{
@@ -382,89 +392,39 @@ class ProjectRunner extends RunnerBase {
382
392
}
383
393
});
384
394
});
385
-
});
395
+
}
396
+
});
397
+
386
398
399
+
it('SourceMapRecord for ('+moduleNameToString(moduleKind)+'): '+testCaseFileName,()=>{
387
400
if(compilerResult.sourceMapData){
388
-
it('SourceMapRecord for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,()=>{
389
-
Harness.Baseline.runBaseline('SourceMapRecord for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.sourcemap.txt',()=>{
Harness.Baseline.runBaseline('SourceMapRecord for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.sourcemap.txt',()=>{
it('Errors in generated Dts files for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,()=>{
401
-
Harness.Baseline.runBaseline('Errors in generated Dts files for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.dts.errors.txt',()=>{
402
-
returngetErrorsBaseline(dTsCompileResult);
403
-
});
414
+
Harness.Baseline.runBaseline('Errors in generated Dts files for ('+moduleNameToString(compilerResult.moduleKind)+'): '+testCaseFileName,getBaselineFolder(compilerResult.moduleKind)+testCaseJustName+'.dts.errors.txt',()=>{
0 commit comments