You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I replace the search method with a simple getAll method e.g. getUsers(term:string) { let apiURL = ${this.apiRoot}?term=${term}&media=music&limit=20; return this.http.get<[]>(this.apiURL);
and call getUsers('U2')
the test fails with no matching url.
Other similar code on the web will pass, but then the test expect(service.results.length).toBe(1+X);
will not fail.
Any ideas appreciated.
The text was updated successfully, but these errors were encountered:
When I replace the search method with a simple getAll method e.g.
getUsers(term:string) { let apiURL =
${this.apiRoot}?term=${term}&media=music&limit=20; return this.http.get<[]>(this.apiURL);
and call
getUsers('U2')
the test fails with no matching url.
Other similar code on the web will pass, but then the test
expect(service.results.length).toBe(1+X);
will not fail.
Any ideas appreciated.
The text was updated successfully, but these errors were encountered: