Skip to content

Instantly share code, notes, and snippets.

@karanparikh
karanparikh / test.js
Last active December 16, 2015 04:39
Async Jasmine Test
describe('A Jasmine test', function() {
it('should be able to test async functions', function() {
// variable to check if our function call was successful
var wasSuccessful = null;
// Dummy Backbone model
var testModel = new TestModel();