parse-community / parse-community/parse-server-example
Failing tests on node 18.x
Abierto
Nadie ha tomado este issue todavía.
type:bug
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.9k
- Forks
- 5.3k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
The provided tests in the example repo are failing on Node 18, due to a jasmine timeout error.
Steps to reproduce:
- Checkout the repository
- Setup node 18.x
- Run tests ->
npm run test
➜ parse-server-example git:(master) ✗ git --no-pager log --oneline -n 1 && node -v && npm -v && npm run test
2d072a6 (HEAD -> master, origin/master, origin/HEAD) docs: update README (#419)
v18.12.1
8.19.2
> parse-server-example@1.4.0 test
> mongodb-runner start && jasmine
◝ Starting a MongoDB deployment to test against...DATABASE_URI not specified, falling back to localhost.
Started
warn: DeprecationWarning: The Parse Server option 'directAccess' default will change to 'true' in a future version. Additionally, the environment variable 'PARSE_SERVER_ENABLE_EXPERIMENTAL_DIRECT_ACCESS' will be deprecated and renamed to 'PARSE_SERVER_DIRECT_ACCESS' in a future version; it is currently possible to use either one.
warn: DeprecationWarning: The Parse Server option 'enforcePrivateUsers' default will change to 'true' in a future version.
..F..
Failures:
1) Parse Server example failing test
Message:
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
Stack:
at <Jasmine>
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
Suite error: top suite
Message:
Error: Timeout - Async function did not complete within 5000ms (set by jasmine.DEFAULT_TIMEOUT_INTERVAL)
Stack:
at <Jasmine>
at listOnTimeout (node:internal/timers:564:17)
at process.processTimers (node:internal/timers:507:7)
5 specs, 2 failures
Finished in 11.087 seconds
➜ parse-server-example git:(master) ✗
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza clonando el repositorio, usando Node 18.x y ejecutando npm run test para reproducir el timeout de Jasmine. Inspecciona el test fallido de example-repo y su configuración de tests; después, confirma que las 5 specs pasan dentro del timeout configurado en Node 18.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, node.js
- Área
- testing-qa
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 35/100