diff --git a/src/ng-add.spec.ts b/src/ng-add.spec.ts index 4800f6b..673b3d1 100644 --- a/src/ng-add.spec.ts +++ b/src/ng-add.spec.ts @@ -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 () => {