Commit 6d200bf
committed
Watch files through the host
Call `this.projectService.host.watchFile`, rather than
`ts.sys.watchFile` so that it gets mocked correctly in the unit tests.
Repair two failing tests.1 parent 4652fc4 commit 6d200bfCopy full SHA for 6d200bf
3 files changed
+3-3Lines changed: 3 additions & 3 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- harness/unittests
- server
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/harness/unittests/tsserverProjectSystem.ts
Copy file name to clipboardExpand all lines: src/harness/unittests/tsserverProjectSystem.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2028 | 2028 | |
2029 | 2029 | |
2030 | 2030 | |
2031 | | - |
| 2031 | + |
2032 | 2032 | |
2033 | 2033 | |
2034 | 2034 | |
|
Collapse file
src/harness/unittests/typingsInstaller.ts
Copy file name to clipboardExpand all lines: src/harness/unittests/typingsInstaller.ts+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
731 | 731 | |
732 | 732 | |
733 | 733 | |
734 | | - |
| 734 | + |
735 | 735 | |
736 | 736 | |
737 | 737 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
631 | 631 | |
632 | 632 | |
633 | 633 | |
634 | | - |
| 634 | + |
635 | 635 | |
636 | 636 | |
637 | 637 | |
|
0 commit comments