4 Tests failed because the test timeout is 5 seconds #5053
Labels
Status: Triage
Needs to be verified, categorized, etc
Type: Bug / Error
Something isn't working or is incorrect
Description
4 Tests faild because the test timeout is 5 seconds.
Faild after and before the first 'pnpm dev':
src/mermaid.spec.ts > when using mermaid and > when using #registerExternalDiagrams > should throw error (but still render) if registerExternalDiagrams fails
src/mermaid.spec.ts > when using mermaid and > when using #registerExternalDiagrams > should defer diagram load based on parameter
Faild only after the first 'pnpm dev':
src/mermaidAPI.spec.ts > mermaidAPI > parse > does not throw for a valid definition
src/mermaidAPI.spec.ts > mermaidAPI > parse > resolves for valid definition
Steps to reproduce
Run the following commands run (2 tests will fail):
pnpm test
For the full commands run (4 tests will fail):
Screenshots
No response
Code Sample
No response
Setup
Suggested Solutions
Change testTimeout in vite.config.ts to 10 seconds. the default value was 5 seconds.
The tests will pass in 7.8 seconds too.
Additional Context
No response
The text was updated successfully, but these errors were encountered: