Skip to content

Commit

Permalink
testing: hide 2x console.warn
Browse files Browse the repository at this point in the history
> Project "THEPROJECT" is missing a required property "root". > This will become an error in the next major version.
  • Loading branch information
JohannesHoppe committed Jul 26, 2022
1 parent 4d24831 commit bff5076
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ng-add.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,9 @@ describe('ng-add', () => {
'angular.json',
JSON.stringify({
version: 1,
projects: { [PROJECT_NAME]: { projectType: 'invalid' } }
projects: {
[PROJECT_NAME]: { projectType: 'invalid', root: PROJECT_NAME }
}
})
);

Expand All @@ -156,7 +158,9 @@ describe('ng-add', () => {
'angular.json',
JSON.stringify({
version: 1,
projects: { [PROJECT_NAME]: { projectType: 'application' } }
projects: {
[PROJECT_NAME]: { projectType: 'application', root: PROJECT_NAME }
}
})
);

Expand Down

0 comments on commit bff5076

Please sign in to comment.