chore(test): fix travis
This commit is contained in:
parent
9c55afdfde
commit
f017102cbc
|
@ -22,7 +22,6 @@ import * as s0301 from '../03-01/app/app.module';
|
|||
import * as s0302 from '../03-02/app/app.module';
|
||||
import * as s0303 from '../03-03/app/app.module';
|
||||
import * as s0304 from '../03-04/app/app.module';
|
||||
import * as s0305 from '../03-05/app/app.module';
|
||||
import * as s0306 from '../03-06/app/app.module';
|
||||
import * as s0410 from '../04-10/app/app.module';
|
||||
import * as s0414 from '../04-14/app/app.module';
|
||||
|
@ -56,7 +55,6 @@ const moduleMetadata = {
|
|||
s0302.AppModule,
|
||||
s0303.AppModule,
|
||||
s0304.AppModule,
|
||||
s0305.AppModule,
|
||||
s0306.AppModule,
|
||||
s0410.AppModule,
|
||||
s0414.AppModule,
|
||||
|
|
|
@ -12,7 +12,7 @@ export class HeroSearchService {
|
|||
|
||||
search(term: string): Observable<Hero[]> {
|
||||
return this.http
|
||||
.get('app/heroes/?name=${term}')
|
||||
.get(`app/heroes/?name=${term}`)
|
||||
.map((r: Response) => r.json().data as Hero[]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue