jquery-mockjax icon indicating copy to clipboard operation
jquery-mockjax copied to clipboard

The jQuery Mockjax Plugin provides a simple and extremely flexible interface for mocking or simulating ajax requests and responses

Results 9 jquery-mockjax issues
Sort by recently updated
recently updated
newest added

$.mockjax(function(settings) { // settings.url might be: "/restful/" such as "/restful/user" var service = settings.url.match(/\/restful\/(.*)$/); if ( service ) { return { proxy: "/mocks/" + service[1] + ".json" }; } //...

Bug

I would like a PR template so that people know what is needed for a PR to be accepted for this repo.

Documentation

I would like an issue template so that people know how to submit issues in a way that will be most effective.

Documentation

This will necessitate a rewrite of the Node.js tests for Mockjax, but should be done.

testing

This came out of PR #79, but that PR is closed for inactivity. We would want to be able to handle 301, 302, 304, 305, and 307 - although this...

Feature/Enhancement

I have code like this **method.js** ``` export function deleteImageFromServer(id){ return $.post('http://localhost:8000/' + 'delete' , { id: id}, function(r){ return r }) } ``` **home.spect.js** ``` import {deleteImageFromServer} from './method'...

Feature/Enhancement

I would like to call the server, but modify the response to include additional data, before it is consumed by the caller. It helps the development, when the server API...

Feature/Enhancement

Hi I'm having an issue with requests completed after cleaning mocks ``` $.mockjax({ url: '/hello', responseTime: 10000, responseText: "whatever" }); $.get('/hello', function () { console.log('I don't expect to get here');...

For Review
Bug

I'm wondering if we should assign a proper ID to each mock handler. Currently this is just the index in the array of handlers, but that seems fragile. Having proper...

quesion