Ahora tengo un espacio de desarrollo gracias a @VonOx.
Me ha podido explicar muchas cosas.
Ahora estoy operativo (a mi nivel, por supuesto) para hacer PR en GitHub.
Es lo que he hecho para empezar a actualizar el chat.
Las pruebas han pasado todas para mis primeras modificaciones.
Me dije ¡guay! ¡Sigo!
He añadido muchas frases y hecho traducciones. He lanzado prettier y eslint para verificar, todo está bien.
Pero el servidor de pruebas ya no funciona, tengo 4 errores. No entiendo por qué.
`1) POST /api/v1/message
should send message:
Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/linux-vins/Gladys/server/test/controllers/message/message.test.js)
at listOnTimeout (internal/timers.js:554:17)
at processTimers (internal/timers.js:497:7)`
2) brain should train brain: TypeError: Cannot read property 'forEach' of undefined at /home/linux-vins/Gladys/server/lib/brain/brain.train.js:15:24 at Array.forEach (<anonymous>) at Brain.train (lib/brain/brain.train.js:13:25) at Context.<anonymous> (test/lib/brain/brain.test.js:7:17) at processImmediate (internal/timers.js:461:21)
3) brain should classify sentence: Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/linux-vins/Gladys/server/test/lib/brain/brain.test.js)
4) brain should getReply: Error: Answer with intent calendar.next-event.get-location.success and language en not found at Brain.getReply (lib/brain/brain.getReply.js:17:11) at Context.<anonymous> (test/lib/brain/brain.test.js:18:11) at processImmediate (internal/timers.js:461:21)
Para el 1 y el 3, el tiempo es demasiado largo, pero ¿por qué?
Para el 2, hay un problema de propiedad en « Foreach », pero no sé por qué.
Para el 4, hay un error con la etiqueta calendar.next-event.get-location.success en el archivo answers versión inglesa, según lo que he entendido. Pero no lo he modificado.
¿He entendido bien los errores?
¿Qué debo hacer para remediar estos 4 errores?
Gracias por su ayuda.