function buildMockResponse(config) {
  var response = mockResponse(config)
  if (config.delay) {
    response = delayResponse(config, response)
  }