Failing tests on node 18.x
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- testing-qa
Research direction
Start by checking out the repository, using Node 18.x, and running npm run test to reproduce the Jasmine timeout. Inspect the failing example-repo test and its test setup, then confirm that all 5 specs pass within the configured timeout on Node 18.
Written by the indexing model from the issue text.
Description
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) ✗
- Dominant language
- JavaScript
- Stars
- 1.9k
- Forks
- 5.3k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from parse-community/parse-server-example
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
parse-community/parse-server-example#436 · 1 comment ·
-
type:bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
parse-community/parse-server-example#459 · 5 comments ·
-
type:bug
Difficulty 3/5 1-2 days Newbie friendliness 30/100
parse-community/parse-server-example#432 · 17 comments ·
-
type:bug
Difficulty 3/5 1-2 days Newbie friendliness 25/100
parse-community/parse-server-example#420 · 1 comment ·
-
type:docs
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
parse-community/parse-server-example#404 · 4 comments · 1 reaction ·
All issues in parse-community/parse-server-example
Similar issues
-
ai-observability bug team/ai-observability
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
AllTheMods/ATM-10-L#19 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
SignalK/n2k-signalk#345 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
JuliaPluto/PlutoPlotly.jl#72 ·