Nathan Shively-Sanders
fce7f9f87b
Move .test-cost.json
...
Also include parameter name in test output so that people will know what
to do to change the percent chance of failure.
2019-06-19 08:40:06 -07:00
Nathan Shively-Sanders
41b117eda7
Improve help message for skipPercent
2019-06-17 14:20:42 -07:00
Nathan Shively-Sanders
6f28283e44
Run all tests on CI
2019-06-17 09:20:58 -07:00
Nathan Shively-Sanders
b4b5bf04a1
Fix lint
2019-06-14 16:07:41 -07:00
Nathan Shively-Sanders
3ef953a819
Allow passing skipPercent
...
Currently, the default is 5%.
0 gives you 0% time savings
2.5 gives you 29%
5 gives you 38%
10 gives you 50%
20 gives you 65%
2019-06-14 15:59:39 -07:00
Nathan Shively-Sanders
a852f2feea
Skip costly tests
...
1. Add a script to generate a sorted list of most costly tests. A tests'
cost is roughly `runtime% / number of edits`. A slow test that's only
been updated once is much less valuable than a slow test that has
been updated 20 times: the latter test is catching more changes in the
type system.
2. Check in the results of running this script. I want to make the
skipping behaviour deterministic and the same for everybody, even though
you may get slightly better performance by examining only *your* test
changes.
3. Add code to skip tests until it reaches a 5% chance of missing an
edit. Right now this provides a 38% speedup.
Still not done:
4. Make this value configurable.
5. Make the CI configuration specify a 0% chance of missing an edit.
2019-06-14 13:35:41 -07:00
ExE Boss
81f71530c4
fix(lib): Fix RegExp
constructor with string|RegExp
and flags
( #30586 )
2019-06-13 15:38:11 -07:00
Wesley Wigham
74c6bc1f85
Filter primitives from union when checking for mismatched excess props if nonprimitive type is present ( #31708 )
...
* Filter primitives from union when checking for mismatched excess props if nonprimitive type is present
* Use maybeTypeOfKind
2019-06-12 17:31:57 -07:00
Sheetal Nandi
a0d164f142
Merge pull request #31820 from microsoft/nodeModules
...
When resolving from typings cache, handle node code modules
2019-06-12 10:55:26 -07:00
Sheetal Nandi
520f7e8067
Merge pull request #31818 from microsoft/sharepointIssue
...
Do not watch tsconfig files from folders that we canot watch (because they are at roots we want to ignore)
2019-06-12 10:47:17 -07:00
Benjamin Lichtman
0628adc056
Merge pull request #31865 from amcasey/FunctionHintSpan
...
Correct outline hint spans for functions
2019-06-12 10:13:21 -07:00
Andrew Casey
1bf28f21de
Add regression test
2019-06-11 17:50:36 -07:00
Andrew Casey
65881602b6
Correct outline hint spans for functions
2019-06-11 16:58:08 -07:00
Ron Buckton
375487ec60
Add __spreadArrays helper ( #31166 )
2019-06-11 14:15:57 -07:00
Anders Hejlsberg
ad322a561a
Merge pull request #31838 from microsoft/emptyIntersectionReduction
...
Empty intersection reduction
2019-06-11 12:25:51 -07:00
TypeScript Bot
bc7f3db27e
Update user baselines ( #31857 )
2019-06-11 10:28:40 -07:00
Anders Hejlsberg
43a282d040
Merge pull request #31858 from microsoft/fixReadonlyPropertyWidening
...
Fix readonly property widening
2019-06-11 10:08:35 -07:00
Anders Hejlsberg
0ca078b345
Accept new baselines
2019-06-11 09:25:23 -07:00
Anders Hejlsberg
3a1fb1bea6
Properly preserve CheckFlags.Readonly when widening properties
2019-06-11 09:25:00 -07:00
Daniel Rosenwasser
d023427226
Merge pull request #31831 from shibukawa/patch-1
...
Fix es2019.string.d.ts
2019-06-10 16:13:38 -07:00
Daniel Rosenwasser
a7a0c3300d
Improve ts6307 error ( #31706 )
...
Improve ts6307 error
2019-06-10 15:17:49 -07:00
Daniel Rosenwasser
79aff027f3
Merge pull request #31290 from a-tarasyuk/bug/29880
...
29880 - No completions for computed string properties
2019-06-10 13:45:58 -07:00
Anders Hejlsberg
015f4c5bc1
Accept new baselines
2019-06-09 10:18:47 -07:00
Anders Hejlsberg
98bbb22bc4
Add tests
2019-06-09 10:18:36 -07:00
Anders Hejlsberg
aa0ea51169
Update fourslash tests
2019-06-09 10:11:36 -07:00
Anders Hejlsberg
d2397e0380
Fix minor issue
2019-06-09 10:05:55 -07:00
Anders Hejlsberg
d872b3a9d1
Accept new baselines
2019-06-09 08:15:38 -07:00
Anders Hejlsberg
9cc9fb9bd7
Update tests
2019-06-09 08:00:01 -07:00
Anders Hejlsberg
d4c9f24577
Intersections of disjoint types become never upon construction
2019-06-09 07:46:13 -07:00
Yoshiki Shibukawa
24a2ed7d83
Fix es2019.string.d.ts
...
trimLeft and trimRight's comments are swapped.
2019-06-09 08:43:38 +09:00
Sheetal Nandi
2fd80b3142
When resolving from typings cache, handle node code modules
...
Fixes #29865
2019-06-07 16:21:39 -07:00
Sheetal Nandi
6ed8aae683
Test when node typings dont get added on subsequent update graph because of invalid typing
...
Test for #29865
2019-06-07 16:19:56 -07:00
Anders Hejlsberg
8705844879
Merge pull request #31802 from microsoft/wideningInAccessExpressions
...
Consistent widening in access expressions
2019-06-07 12:46:24 -07:00
Sheetal Nandi
a6c72a0cf3
Do not watch tsconfig files from folders that we canot watch
...
Fixes #30818
2019-06-07 12:10:21 -07:00
Anders Hejlsberg
4856768212
Merge branch 'master' into wideningInAccessExpressions
2019-06-07 11:52:24 -07:00
Anders Hejlsberg
69706bd064
Merge branch 'master' into wideningInAccessExpressions
2019-06-07 10:54:39 -07:00
Anders Hejlsberg
737cb45780
Merge pull request #31807 from microsoft/revert-30467-move-class-property-transform
...
Revert "Move class property transformation into new transformer file"
2019-06-06 18:59:14 -07:00
Andrew Branch
53467ae4a4
Revert "Move class property transformation into new transformer. ( #30467 )"
...
This reverts commit 3139cf2f85
.
2019-06-06 17:40:02 -07:00
Anders Hejlsberg
4ae3a54ba6
Merge pull request #31784 from microsoft/numericEnumMappedType
...
Numeric enums as key types in mapped types
2019-06-06 15:00:19 -07:00
Anders Hejlsberg
1aed26aab7
Accept new baselines
2019-06-06 13:34:00 -07:00
Anders Hejlsberg
9d2a2c9634
Add tests
2019-06-06 13:33:36 -07:00
Anders Hejlsberg
ddc742c40c
Minor fix
2019-06-06 13:33:18 -07:00
Anders Hejlsberg
13557299e9
Consistent widening in property and element access expressions
2019-06-06 12:45:56 -07:00
TypeScript Bot
2fdf7b5d3b
Update user baselines ( #31793 )
2019-06-06 10:13:07 -07:00
Anders Hejlsberg
50a6002d8c
Accept new baselines
2019-06-06 09:41:52 -07:00
Anders Hejlsberg
7e07669885
Generate declaration file from tests
2019-06-06 09:41:44 -07:00
Joey Watts
3139cf2f85
Move class property transformation into new transformer. ( #30467 )
...
Signed-off-by: Joseph Watts <jwatts43@bloomberg.net>
2019-06-05 22:24:25 -07:00
Anders Hejlsberg
fb8216bca0
Accept new baselines
2019-06-05 16:55:16 -07:00
Anders Hejlsberg
f8aaccdd1d
Add tests
2019-06-05 16:55:08 -07:00
Anders Hejlsberg
5ad46b180b
Fix minor issue
2019-06-05 16:53:42 -07:00