Skip to content

Tutorial 2: Mocking AJAX requests with Jasmine

Latest
Compare
Choose a tag to compare
@toast38coza toast38coza released this 27 Jul 12:42

This release contains the code for the tutorials Tutorial 2: Mocking AJAX requests with Jasmine

Here, we:

  • install the jasmine-ajax helper
  • Mock a typical JQuery AJAX request
  • Use a Spy to verify the behavior of our mocked call.