Skip to content

Commit 495c850

Browse files
authored
test: Update integration project to target v14 (#1659)
This commit updates the integration project used in tests to target the v14 rc
1 parent 7b360f0 commit 495c850

File tree

3 files changed

+269
-242
lines changed

3 files changed

+269
-242
lines changed

integration/lsp/ivy_spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ describe('Angular Ivy language server', () => {
143143
// 2 results - the NgIf class and the ngIf input
144144
expect(Array.isArray(response)).toBe(true);
145145
const {targetUri} = response[0];
146-
expect(targetUri.endsWith('angular/common/common.d.ts')).toBeTrue();
146+
expect(targetUri.endsWith('angular/common/index.d.ts')).toBeTrue();
147147
// Open the `.d.ts` file
148148
openTextDocument(client, URI.parse(targetUri).fsPath);
149149
// try a hover operation again on *ngIf

integration/project/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
"name": "angular-ls-integration-test-project",
33
"private": true,
44
"dependencies": {
5-
"@angular/common": "13.0.0-rc.3",
6-
"@angular/compiler": "13.0.0-rc.3",
7-
"@angular/compiler-cli": "13.0.0-rc.3",
8-
"@angular/core": "13.0.0-rc.3",
5+
"@angular/common": "14.0.0-rc.1",
6+
"@angular/compiler": "14.0.0-rc.1",
7+
"@angular/compiler-cli": "14.0.0-rc.1",
8+
"@angular/core": "14.0.0-rc.1",
99
"rxjs": "6.6.7",
1010
"zone.js": "0.11.4"
1111
},
1212
"devDependencies": {
1313
"ng-packagr": "^13.2.0",
14-
"typescript": "~4.4.3"
14+
"typescript": "~4.6.0"
1515
},
1616
"scripts": {
1717
"build": "ng-packagr -p libs/post/ng-package.json -c libs/post/tsconfig.json"

0 commit comments

Comments
 (0)