Skip to content

Commit

Permalink
fix test: error message has been changed
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesHoppe committed Jul 26, 2022
1 parent 008b9f1 commit 4d24831
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ng-add.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('ng-add', () => {

await expect(
ngAdd({ project: PROJECT_NAME })(tree, {} as SchematicContext)
).rejects.toThrowError('Invalid JSON character: "h" at 0:0.');
).rejects.toThrowError('Invalid workspace file - expected JSON object.');
});

it('should throw if specified project does not exist', async () => {
Expand Down

0 comments on commit 4d24831

Please sign in to comment.