LearningSalesForceCommerceC.../storefront-reference-architecture/test/mocks/modules/responseMock.js
2021-12-21 10:57:31 -08:00

17 lines
288 B
JavaScript

'use strict';
function Response() {
this.base = {};
}
Response.prototype = {
render: function render() {},
json: function json() {},
redirect: function redirect(url) {
this.redirectUrl = url;
},
setViewData: function () {}
};
module.exports = Response;