5 Commits

Author SHA1 Message Date
Alan Agius
b9c4b346dd feat(@schematics/angular): replace deprecated TestBed.get with TestBed.inject
Relates to https://github.com/angular/angular/pull/32200
2019-09-09 14:10:14 -07:00
Wataru KASAHARA
66280bcb29 refactor(@schematics/angular): use beforeEach to get service in service unit test (#15438) 2019-08-26 11:48:14 -07:00
Alan Agius
36eba0c9fc refactor: use .template suffix for all schematic files
Currently when using `ivy-ngcc` it will print out a warning

```
Failed to read entry point info from //node_modules/@schematics/angular/workspace/files/package.json with error SyntaxError: Unexpected token < in JSON at position 1121.
```

Fixes #13378
2019-01-16 10:29:56 -08:00
cexbrayat
a7bfef72e1 feat(@schematics/angular): simplify service test
Now that the service schematic uses `providedIn` by default,
we can simplify the test to use `TestBed.configureTestingModule({})`.

Also use `TestBed.get()` instead of the `inject` wrapper.
2018-08-04 12:47:16 +01:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00