department-of-veterans-affairs/vets-website

View on GitHub
src/applications/mhv-supply-reordering/mocks/index.js

Summary

Maintainability
A
0 mins
Test Coverage
const delay = require('mocker-api/lib/delay'); // eslint-disable-line no-unused-vars

const featureToggles = require('./feature-toggles');
const inProgressFormsMdot = require('./in-progress-forms/mdot');
const maintenanceWindows = require('./maintenance-windows');
const mdotSupplies = require('./mdot/supplies');
const user = require('./user');

const mockApiResponses = {
  ...featureToggles,
  ...inProgressFormsMdot,
  ...maintenanceWindows,
  ...mdotSupplies,
  ...user,
};

// module.exports = mockApiResponses;
module.exports = delay(mockApiResponses, 1000);