13 Commits

Author SHA1 Message Date
Wesley Wigham
81fbe12c54
User runner submodule improvements (#20868)
* Add a reset and clean stage to submodule user tests, improve logging when errors occur

* Also force remove node_modules, update baselines
2017-12-22 11:41:48 -08:00
Wesley Wigham
eba15b5990
Preserve literal types in contextual unions (#19966)
* Cherrypick non-comparability related changes from prolific literals PR

* Renames and other style changes

* Accept changes to new tests

* Exclude the domain root from contextual typing literals except for type variables

* Readd simple preservation fix

* Add huge map test

* Revert changes to widening on destructuring initalizers

* Use tristate for subtype-reduction type

* Rename type and argument

* Move longer-running test to user suite
2017-12-11 18:03:38 -05:00
Nathan Shively-Sanders
33f3e491c3 Update chrome dev tools definitions
This removes tons of errors.
2017-11-27 16:07:33 -08:00
Nathan Shively-Sanders
3a74147153 Add empty 'module' declarations for chrome-devtools
Like: `var SDK = {}`.

These are normally generated by the Chrome dev tools build; adding them
gets rid of more than 10,000 errors
2017-11-27 15:21:38 -08:00
Nathan Shively-Sanders
d338ecd6d0 Tests:more JS static property assignments
export default fails right now; I haven't got it to work and it's not in
dev tools, so I don't know if it's worth the effort.
2017-11-27 15:20:06 -08:00
Wesley Wigham
2c8e49f32e
Exclude global types from devtools user test (#20172) 2017-11-20 15:17:53 -08:00
Wesley Wigham
98112d4964
Add very error-ful test for chrome devtools js (#19992) 2017-11-16 11:02:00 -08:00
Nathan Shively-Sanders
09d0a671ee
Merge pull request #19993 from weswigham/mark-submodules-dirty
Mark submodule changes as ignored
2017-11-15 10:47:09 -08:00
Wesley Wigham
9be4d601b2
react starter needs node ref, accept fixed leveldown (#19994) 2017-11-13 16:44:09 -08:00
Wesley Wigham
c8b77ae83a
mark all submodule changes as ignored 2017-11-13 15:02:28 -08:00
Nathan Shively-Sanders
d4c001d47c Add test w/submodules for our starter kits 2017-11-10 14:20:55 -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
Wesley Wigham
ba98cbbf92
User code runner draft (#19539)
* Realworld runner draft

* Baseline tsc output instead of just checking exit code

* use latest instead of major minor pin

* Add 7 more test cases + update gitignore

* Update baselines for realworld/user tests

* Rename to user

* Do not commit lockfiles

* Add code to run user tests on CRON

* Add rest of most-dependend packages to user tests

Turns out levelup doesn't have types! So I removed that one.
2017-11-01 16:22:37 -07:00