Permalink
Please
sign in to comment.
Browse files
Baseline public API (#18897)
* Add unit test which tracks public API changes * Accept strict function types updates * 100% Linefeeds, no carriage returns * How were these missing? * That would be why they were there * Extract and comment * Accept comment changes
- Loading branch information
Showing
with
12,222 additions
and 28 deletions.
- +15 −15 CopyrightNotice.txt
- +13 −5 Gulpfile.ts
- +6 −7 Jakefile.js
- +2 −1 src/harness/tsconfig.json
- +10 −0 src/harness/unittests/publicApi.ts
- +1 −0 src/tsconfig-base.json
- +7,587 −0 tests/baselines/reference/api/tsserverlibrary.d.ts
- +4,588 −0 tests/baselines/reference/api/typescript.d.ts
@@ -1,15 +1,15 @@ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
/*! ***************************************************************************** | ||
Copyright (c) Microsoft Corporation. All rights reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); you may not use | ||
this file except in compliance with the License. You may obtain a copy of the | ||
License at http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED | ||
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, | ||
MERCHANTABLITY OR NON-INFRINGEMENT. | ||
|
||
See the Apache Version 2.0 License for specific language governing permissions | ||
and limitations under the License. | ||
***************************************************************************** */ | ||
|
@@ -0,0 +1,10 @@ | ||
/// <reference path="../harness.ts" /> | ||
|
||
describe("Public APIs", () => { | ||
it("for the language service and compiler should be acknowledged when they change", () => { | ||
Harness.Baseline.runBaseline("api/typescript.d.ts", () => Harness.IO.readFile("built/local/typescript.d.ts")); | ||
}); | ||
it("for the language server should be acknowledged when they change", () => { | ||
Harness.Baseline.runBaseline("api/tsserverlibrary.d.ts", () => Harness.IO.readFile("built/local/tsserverlibrary.d.ts")); | ||
}); | ||
}); |

Oops, something went wrong.
0 comments on commit
7f7d0c6