Commit Graph

2186 Commits

Author SHA1 Message Date
Andrew Casey
e934c30513 Merge pull request #20173 from RyanCavanaugh/fixTypingsInstallerAgain_master
Always send a response to installTypings even if all types are cached
2017-11-27 10:47:05 -08:00
Andrew Casey
5ed31cff8c Use stricter types for event bodies 2017-11-21 16:38:58 -08:00
Ryan Cavanaugh
ee2d436999 Always send a response to installTypings even if all types are cached 2017-11-20 21:32:56 -08:00
Andrew Casey
9cbe4eb614 Convert legacy safe list keys to lowercase on construction 2017-11-20 18:30:28 -08:00
Wesley Wigham
71ceb91c9d Parallel runner shouldnt print nan and freeze on unestimatable tests when above batch count (#20176) 2017-11-20 15:47:46 -08:00
Arthur Ozga
65908ef8ba Merge pull request #19864 from Microsoft/dev/aozgaa/eventPortTelemetry
Send events through a single stream
2017-11-17 20:22:57 -08:00
Arthur Ozga
d2cc4f15be test overriding Session.event 2017-11-17 19:48:57 -08:00
Armando Aguirre
464ae31776 Merge pull request #20082 from armanio123/KendoOptionalMin
Modified Kendo regex to include -ui folders and files without min
2017-11-16 17:37:24 -08:00
Armando Aguirre
48aa83e13a Modified Kendo regex to include -ui folders and files without min 2017-11-16 15:59:27 -08:00
Ryan Cavanaugh
a416826b64 Apply safelist exclusions even when include is not specified; recompute project contexts when installer reqs finish 2017-11-16 12:52:30 -08:00
Andy
478b404f42 Detect re-exports from "export *" in completions (#20043) 2017-11-16 11:15:14 -08:00
Andy
94581c1946 Strip "/index" from import fix module specifiers (#19962)
* Strip "/index" from import fix module specifiers

* Require "node" module resolution

* More tests
2017-11-16 11:12:34 -08:00
Andy
592ee00906 Have CompletionEntryDetails source use a relative path (#19917)
* Have CompletionEntryDetails source use a relative path

* Use getCanonicalFileName from services Instead of creating a new one
2017-11-14 14:26:49 -08:00
Nathan Shively-Sanders
7771d0c1fc Merge pull request #19934 from Microsoft/add-starter-kit-to-user-tests
Add starter kit to user tests
2017-11-13 08:54:52 -08:00
Nathan Shively-Sanders
4d01390845 Improve assert message 2017-11-10 15:55:29 -08:00
Ryan Cavanaugh
de7fbc041a Merge pull request #19542 from RyanCavanaugh/fix19533
Exclude legacy safelist files in external projects
2017-11-10 15:28:35 -08:00
Nathan Shively-Sanders
0d63589fb2 Fix quote lint 2017-11-10 14:21:53 -08:00
Sheetal Nandi
c82c6f21cb Ensure that enum member value is computed before using it
Fixes #19898
2017-11-10 14:05:16 -08:00
Nathan Shively-Sanders
d66e94d09e ExternalCompileRunner works with submodules
If there is a test.json in the directory, it expects to find a
submodule in the directory. The submodule should have the same name as
the directory itself. test.json contains a list of global types that
need to be available, or the empty list if none.
2017-11-10 13:50:18 -08:00
Nathan Shively-Sanders
9d56f7b7c1 Merge pull request #19887 from Microsoft/dt-runner-excludes-ExpectError
DefinitelyTypedRunner skips ExpectErrors
2017-11-10 10:31:19 -08:00
Nathan Shively-Sanders
5fff71742b Use ts.stringContains instead of String.indexOf 2017-11-10 10:11:44 -08:00
Nathan Shively-Sanders
0d5800a17b Address PR comments 2017-11-10 09:37:06 -08:00
Nathan Shively-Sanders
a5fa75a0cd DefinitelyTypedRunner skips ExpectErrors
If all errors were ExpectErrors, then it does not fail.
2017-11-09 14:21:08 -08:00
Ryan Cavanaugh
0d5dec9a98 Remove commented tests 2017-11-09 13:55:20 -08:00
Andy
65a191fa2b For import completion of default import, convert module name to identifier (#19875)
* For import completion of default import, convert module name to identifier

* Suggestions from code review
2017-11-09 13:13:23 -08:00
Ryan Cavanaugh
b043edd61c Merge 2017-11-09 12:42:37 -08:00
Ryan Cavanaugh
0e105ad8de Log more usefully when this test fails 2017-11-09 12:30:44 -08:00
Ryan Cavanaugh
ddd8c95c63 Remove testcases we don't like 2017-11-09 12:30:29 -08:00
Wesley Wigham
235356e6ff Handle synthetic nodes correctly as namespace identifiers in system transform (#19623)
* Handle synthetic nodes correctly as namespace identifiers in system transform

* Add ref to issue in comment

* Lock newline for ci
2017-11-08 18:15:23 -08:00
Nathan Shively-Sanders
594ac0163c Merge pull request #19815 from Microsoft/add-definitely-typed-runner
Add DefinitelyTyped runner
2017-11-08 15:45:25 -08:00
Nathan Shively-Sanders
bb79308a24 Use CRLF and emit test output for stdout/stderr
I've got git problems and I'm not even on Windows!
2017-11-08 15:26:05 -08:00
Andy
5ad7e9516b Remove unnecessary wrapper classes in ts.formatting.Rule (#19744)
* Remove unnecessary wrapper classes in ts.formatting.Rule

* RulesProvider -> immutable FormatContext

* Remove Rules class, just use a list of rules

* Remove Shared namespace, replace Shared.TokenRange with TokenRange

* Simplify TokenRange

* Separate Rule and RuleSpec

* Move FormattingRequestKind to formattingContext.ts

* Simplify references

* Fix lint

* Revert removal of trailing newlines
2017-11-08 13:39:03 -08:00
Nathan Shively-Sanders
d64a8f62f2 Refactor user+dt runners into externalCompilerRunner 2017-11-08 13:28:35 -08:00
Andy
20e36dba53 Remove trailing whitespace from unit tests (#19836) 2017-11-08 13:18:23 -08:00
Nathan Shively-Sanders
4e4f7507d0 Fix getDefaultLibraryFile + turn off lib
1. getDefaultLibraryFile should use ts to normalise the file and find
the filename.
2. lib should be turned off at the same time that noLib is turned on to
avoid a pointless error.
2017-11-07 16:08:57 -08:00
Nathan Shively-Sanders
ad18bde92b RWC:Handle lib entries in tsconfig 2017-11-07 15:43:55 -08:00
Sheetal Nandi
fe40873664 Merge pull request #19786 from Microsoft/directoryRename
Handle the watch when folders are added/removed/renamed in wild card folder
2017-11-07 11:13:47 -08:00
Nathan Shively-Sanders
5e5b5652ed Remove package-lock.json before npm install 2017-11-07 11:10:24 -08:00
Nathan Shively-Sanders
88a31d6096 Change runner name from 'definitely' to 'dt' 2017-11-07 10:57:54 -08:00
Nathan Shively-Sanders
2378ff32b1 Fix lint and allow null keyword 2017-11-07 10:45:42 -08:00
Nathan Shively-Sanders
9a415a2b23 DefinitelyRunner cleanup and speedup
1. Only `npm install` packages with a package.json
2. Add `workingDirectory` to runnerBase to differentiate input directory
from output directory (which should be different for definitelyRunner).
3. Don't output anything on success.
2017-11-07 09:50:17 -08:00
Andy
bd2e97597d Enable 'no-empty' tslint rule (#19769)
* Enable 'no-empty' tslint rule

* Fix bug
2017-11-07 09:22:28 -08:00
Andy
9c8129eeac Enable 'no-invalid-template-strings' lint rule (#19790) 2017-11-07 06:51:35 -08:00
Ron Buckton
3f248ecfe1 Merge pull request #19452 from Microsoft/compareStrings
Clean up outdated string comparison logic
2017-11-06 18:48:15 -08:00
Andy
77b24aec83 Apply 'unified-signatures' tslint rule (#19738)
* Apply 'unified-signatures' tslint rule

* Fix new failure
2017-11-06 18:38:03 -08:00
Andy
40efd1b3bd Apply 'object-literal-key-quotes' tslint rule (#19737)
* Apply 'object-literal-key-quotes' tslint rule

* Convert to "consistent-as-needed"
2017-11-06 18:13:20 -08:00
Sheetal Nandi
3f34525c81 Handle the folder create/delete in the configured project 2017-11-06 15:22:48 -08:00
Nathan Shively-Sanders
e6c38bf67b Add DefinitelyTyped test runner
Assumes that ../DefinitelyTyped holds the DefinitelyTyped repo.
2017-11-06 15:16:33 -08:00
Sheetal Nandi
57be7ff3f6 Add test case when inside wild card watched directory folder is renamed 2017-11-06 14:38:33 -08:00
Andy
ed38889ca6 Enable 'no-unused-expression' tslint rule (#19734) 2017-11-06 13:01:07 -08:00