Skip to content

Commit 4d24831

Browse files
committed
fix test: error message has been changed
1 parent 008b9f1 commit 4d24831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng-add.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ describe('ng-add', () => {
119119

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

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

0 commit comments

Comments
 (0)