Josh Goldberg
373b44115b
Converted another ~70 test files to strictNullChecks ( #65672 )
...
* Converted another ~70 test files to strictNullChecks
These are the remaining test files that didn't require any changes to non-test file types. I'll send those in separately.
Most changes were automatic and small (`!`s).
The only non-trival change is that `extHostSearch.ts` needs an interface for its test data.
Again used [TypeStat](https://github.com/JoshuaKGoldberg/TypeStat ) when possible per #65581 . I'm happy to split this up into smaller PRs if you'd prefer!
* Added missing `!`s to `commands.test.ts`
2018-12-27 18:52:51 -06:00
Johannes Rieken
653280d133
debt - Thenable -> Promise
2018-12-13 11:31:54 +01:00
Benjamin Pasero
227fd6634b
fix #64597
2018-12-12 08:00:50 +01:00
Joao Moreno
408e03220c
event namespace consolidation & docs
2018-12-11 10:14:38 +01:00
Benjamin Pasero
55565d4fe6
TPromise => Promise ( #63768 )
...
* remove more TPromise (for #53526 )
* fix failing webview integration tests on macOS
* do not instantiate TPromise (fix #62716 )
* more TPromise removal and fixes
* 💄
* 💄
2018-11-26 10:45:34 +01:00
Johannes Rieken
0817eb5df5
debt - less TPromise in tests
2018-11-05 12:40:56 +01:00
Alex Dima
44a80801cb
Fixes #61825 : Refactor mode creation
2018-10-26 18:19:13 +02:00
Matt Bierner
7ebea5fba0
Remove "use strict" directives in tests
...
We set alwaysStrict so this directive is not needed
2018-10-02 15:59:35 -07:00
Johannes Rieken
706ada4612
debt - let sequence and first use native promises
2018-10-01 12:27:43 +02:00
Johannes Rieken
2d452e0a7e
uri - replace usages of default export with named export
2018-09-03 10:54:50 +02:00
Johannes Rieken
5174205b09
avoid async and winjs.promise, #53442
2018-07-02 15:04:42 +02:00
Benjamin Pasero
4f19e8f619
tests - favour promise over done callback (for #45209 )
2018-03-08 09:13:20 +01:00
Benjamin Pasero
c6d150ebb4
remove textEditorModel.getValue
2018-01-22 18:06:35 +01:00
Alex Dima
54e7055c12
Rename IModel to ITextModel
2018-01-04 16:44:40 +02:00
Alex Dima
0721df783d
Extract model types out of editorCommon.ts
2018-01-04 16:27:58 +02:00
Matt Bierner
7b3929a893
Fix a few callback casts for strictFunctions
...
With TS 2.6's strict functions mode, you cannot use a subclass in place of a parent parameter type in a callback
2017-11-06 16:19:32 -08:00
Johannes Rieken
337ded059a
rename ITextModelResolverService to ITextModelService, #10547
2017-06-13 16:00:36 +02:00
Joao Moreno
247fe98b7e
🐛 remove text model resolver service promise cache
...
fixes #25580
2017-04-28 11:31:53 +02:00
Benjamin Pasero
b34f17350f
Un-allowed double quoted imports (for #25451 )
2017-04-26 19:13:12 +02:00
Benjamin Pasero
5ecf0cda9a
Clean up some editor input debt and lifecycle issues ( #24439 )
2017-04-10 19:37:42 +02:00
Sandeep Somavarapu
d679692e01
#17110 Rename and clean up
2016-12-13 18:40:22 +01:00
Sandeep Somavarapu
cf385bcc10
#17110 Move service test utils to workbench
2016-12-13 17:50:40 +01:00
Sandeep Somavarapu
c07a26c9a4
#17110 Remove dependency on service test utils from platform tests
2016-12-13 17:34:08 +01:00
Joao Moreno
b560a80a6e
fix test
2016-11-22 10:18:01 +01:00
Joao Moreno
3eddc66357
createModelReference(...)
2016-11-21 16:00:06 +01:00
Joao Moreno
0b6675494e
unwrap reference of promise
2016-11-21 15:58:48 +01:00
Joao Moreno
5e747c32bd
ReferenceCollection in TextModelResolverService
2016-11-21 11:30:37 +01:00
Joao Moreno
5ea4ab4a84
remove unnecessary casts
2016-11-18 15:42:41 +01:00
Benjamin Pasero
82f82c954d
move resolverService to vs/editor/common/services (for #15558 )
2016-11-16 15:03:57 +01:00
Benjamin Pasero
b6d782a017
add more tests for TextModelResolverService
2016-11-04 17:03:53 +01:00
Benjamin Pasero
1741f67dce
adopt ITextModelResolverService for resources
2016-11-04 12:42:09 +01:00
Benjamin Pasero
4cc289a8a2
make text model resolver available in platform
2016-11-04 12:42:09 +01:00
Benjamin Pasero
dbf3ba74e6
fixes #6644
2016-11-04 11:01:08 +01:00