Matt Bierner
a6e6fb201a
Avoid any in TestInstantiationService.stub
...
Use of any in stub was causing a few issues:
- Lots of implicit anys being used
- Methods / properties being stubbed with wrong types
- Non-existant methods/properties being stubbed
The fix is to require that the passed in stub is either a `Function` (the ctor case) or a `partial` of the type being stubbed.
2019-03-19 23:43:42 -07:00
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Rob Lourens
f4dd1d1351
Search tree - fix tests and match actions
2018-12-18 13:03:15 -08:00
Sandeep Somavarapu
a7cf7c9f7e
#64597 Move away from TPromise
2018-12-10 10:08:40 +01:00
Matt Bierner
e444eaa768
Strict null check serviceMock
2018-12-07 16:41:29 -08:00
Sandeep Somavarapu
90abb702fa
#53526 Migrate from TPromise
2018-11-09 15:23:57 +01:00
Matt Bierner
be38e56996
Remove duplicate blank lines at the start of some files
2018-10-02 16:28:19 -07:00
Matt Bierner
d4edb9abcc
Remove use strict directives in main VS Code src (part 3)
...
We compile using the alwaysStrict flag so these directives are not needed.
This part removes most of the remaining use strict directives that were not caught by part 1 and 2
2018-10-02 16:14:11 -07:00
Matt Bierner
4b4ac1b4d9
Remove unused generic types
2017-11-07 11:48:38 -08:00
Erich Gamma
c536efdfbc
Enabled the noUnusedLocals and added @tsignore
2017-11-07 13:13:41 +01:00
Erich Gamma
b94569fe0d
tslint5 adoption - fix semicolon rule
2017-11-07 12:08:22 +01:00
Sandeep Somavarapu
d67f3079fd
Fix #36448
2017-10-19 12:45:53 +02:00
Alex Dima
676ff7d699
Restore mocha --browser
2017-06-26 15:16:34 +02:00
Alex Dima
3be08cf836
Prevent additional layer breakers, enforce ts lint import rules in /platform/ tests
2017-06-20 09:53:37 +02:00
Sandeep Somavarapu
7f54c775f3
debt: Replace custom Map object with Native Map
2017-06-12 13:00:10 +02:00
Benjamin Pasero
67107455b0
Improve commands picker ( #28184 )
2017-06-07 15:27:50 +02:00
Sandeep Somavarapu
7e92bd8942
#17110 Move instantiation mock to platform/instantiaion layer
2016-12-13 16:23:24 +01:00