TypeScript/tests/projects
Sheetal Nandi 79bcb3d547
Handle seenEmittedFiles which was not being set when emit of a file was complete (#33145)
* Add test that fails because file is written multiple times
Reported from #33061

* Handle seenEmittedFiles which was not being set when emit of a file was complete.
It was issue only when errors are reported before emitting (which puts the files into pendingEmit that needs to check only in seenEmittedFiles)
If emit happens before semantic diagnostics query this issue is not repro, because the affected files come into play and those are being set correctly
Fixes #31398

* make baselining source map optional

* Handle emitDeclarationOnly in --build scenario

* Ensure we are using d.ts emit as signature even when --declarationMap is on (map files are emitted before d.ts)

* Move module specifiers to verifyTsBuildOutput

* implement create Hash to be default hashing plus data so we can verify it easily in baseline

* Remove failing baseline

* Accept correct baseline name
2019-08-30 16:33:44 -07:00
..
amdModulesWithOut Add tests to verify output of --out with modules as output 2019-03-05 11:08:44 -08:00
container Test to verify that file with --out and case mismatch works with source map 2018-10-31 15:39:31 -07:00
containerOnlyReferenced Container only ref needs to be ignored from uptodate status 2019-06-20 16:09:35 -07:00
demo PR feedback 2019-08-12 16:06:09 -07:00
emitDeclarationOnly Handle seenEmittedFiles which was not being set when emit of a file was complete (#33145) 2019-08-30 16:33:44 -07:00
empty-files Skip default lib checking in all tsbuild tests (#27380) 2018-09-26 15:51:55 -07:00
importJsonFromProjectReference Exclude Json files from Project reference redirects from files to be emitted list 2019-03-14 11:22:26 -07:00
inferredTypeFromTransitiveModule Handle simple lib file in the test case 2019-04-17 16:43:10 -07:00
lateBoundSymbol Fix lateBoundSymbol test case to handle the simple lib file for the test 2019-04-17 16:19:34 -07:00
missingExtendedConfig Handle get from readFileCache correctly. 2019-01-28 12:30:05 -08:00
outfile-concat Skip default lib checking in all tsbuild tests (#27380) 2018-09-26 15:51:55 -07:00
projectReferenceWithRootDirInParent Skip default lib checking in all tsbuild tests (#27380) 2018-09-26 15:51:55 -07:00
resolveJsonModuleAndComposite Make the tsbuild tests use simple libFile instead of bigger lib file set 2019-04-17 15:35:00 -07:00
sample1 Skip default lib checking in all tsbuild tests (#27380) 2018-09-26 15:51:55 -07:00
transitiveReferences Handle caching of module resolution depending on project references 2018-10-04 15:04:11 -07:00