function testServer(route) {
  const app = express();
  app.use(express.json());
  route(app);
  return superTest(app);
}
//servidor basico para utilizar en testing
servidor basico para utilizar en testing
servidor basico para utilizar en testing
function testServer(route) {
  const app = express();
  app.use(express.json());
  route(app);
  return superTest(app);
}
function testServer ( route ) { const app = express ( ) ; app . use ( express . json ( ) ) ; route ( app ) ; return superTest ( app ) ; }
servidor basico para utilizar en testing
servidor basico para utilizar en testing