1 post tagged with google places

  • Angular Unit Testing: Mocking Google Places Promise

    The other day I was trying to use the fakeAysnc helpers in Angular to mock api responses from the Google places api. The methods use async await , but the tests kept failing over promises not getting resolved, then because the test couldn't reach…

All tags