mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-11 19:27:35 -06:00
Refactor project references and source map tsserver tests so they are inline for easy editing (#42782)
This commit is contained in:
parent
5deb676b3a
commit
e98f6b07ab
@ -195,7 +195,7 @@ interface Array<T> { length: number; [n: number]: T; }`
|
||||
checkMap(caption, arrayToMap(actual, identity), expected, /*eachKeyCount*/ undefined);
|
||||
}
|
||||
|
||||
export function checkWatchedFiles(host: TestServerHost, expectedFiles: string[], additionalInfo?: string) {
|
||||
export function checkWatchedFiles(host: TestServerHost, expectedFiles: readonly string[], additionalInfo?: string) {
|
||||
checkMap(`watchedFiles:: ${additionalInfo || ""}::`, host.watchedFiles, expectedFiles, /*eachKeyCount*/ undefined);
|
||||
}
|
||||
|
||||
|
||||
@ -189,6 +189,7 @@
|
||||
"unittests/tsserver/projectReferenceCompileOnSave.ts",
|
||||
"unittests/tsserver/projectReferenceErrors.ts",
|
||||
"unittests/tsserver/projectReferences.ts",
|
||||
"unittests/tsserver/projectReferencesSourcemap.ts",
|
||||
"unittests/tsserver/projects.ts",
|
||||
"unittests/tsserver/refactors.ts",
|
||||
"unittests/tsserver/reload.ts",
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
4439
src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts
Normal file
4439
src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user