Sha256: ee8d4af980aced5ab74a1372431364fe92956e94613c5c27d41af2666140f0c0
Contents?: true
Size: 378 Bytes
Versions: 9
Compression:
Stored size: 378 Bytes
Contents
/* global jest */ let nextResponse = { success: true, data: {}, message: 'success', }; export default { forModel: jest.fn(() => Promise.resolve(nextResponse)), forCollection: jest.fn(() => Promise.resolve(nextResponse)), perform: jest.fn(() => Promise.resolve(nextResponse)), setResponseData(response) { nextResponse = response; }, };
Version data entries
9 entries across 9 versions & 1 rubygems