mockjax Questions

3

Solved

How can I write a QUnit test for this: function doSomethingWithAjax() { $.ajax({ url: '/GetHelloWorld', success: function(data) { $("#responseFromServer").text(data); }, }); } Mockjax+qunit ...
Pasquil asked 21/2, 2012 at 20:0

1

Solved

There are employees that will visit the external site to see a link to an internally hosted site. We only want the link to show if they have VPN'd into the network. How, with JavaScript, can I tes...
Anastos asked 19/11, 2012 at 21:52

1

Solved

I'm using mockjax to simulate an Ajax call, but I'm experiencing that the data received by my Ajax callback is different from what I pass to mockjax (via the 'responseText' parameter). In this exam...
Coridon asked 23/8, 2012 at 14:16
1

© 2022 - 2024 — McMap. All rights reserved.