Hi, guys, does anybody have any experience with %subj% (in single-page webapp storing data in it)? I was looking at https://github.com/pivotal/jasmine-ajax but that is a) much more simple (as XMLHttpRequest has much more simple API than IndexedDB), and b) limited just to jQuery’s $.ajax, which is even much more simple.
However, when I played with jasmine’s spy* functions, I found that I don’t have to simulate whole XMLHttpRequest API to test simple client downloading data from the web[1]. I wondered whether anybody here would be willing to share any example of using spy* & co. with IndexedDB[2]? Best, Matěj Cepl ----------------------------- [1] http://luther.ceplovi.cz/git/elasmotherium.git/tree\ /spec/podcast.spec.js?h=jasmine#n19 [2] http://luther.ceplovi.cz/git/elasmotherium.git/tree\ /podcast.js?h=jasmine#n45 _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
