Skip to content

Standardize window size for consistent test results.#1338

Merged
LlGC-jop merged 1 commit intoUniversalViewer:devfrom
FalveyLibraryTechnology:force-test-window-size
Mar 11, 2025
Merged

Standardize window size for consistent test results.#1338
LlGC-jop merged 1 commit intoUniversalViewer:devfrom
FalveyLibraryTechnology:force-test-window-size

Conversation

@demiankatz
Copy link
Copy Markdown
Contributor

The default jest configuration did not specify a window size, which makes it hard to determine whether the viewer will start in mobile or desktop mode. This PR sets a desktop window size for default testing, since desktop is the current assumption of existing tests. We should be able to override this on a test-by-test basis if we want to develop mobile-specific tests in future.

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 11, 2025

The latest updates on your projects. Learn more about Vercel for Git β†—οΈŽ

Name Status Preview Comments Updated (UTC)
universalviewer βœ… Ready (Inspect) Visit Preview πŸ’¬ Add feedback Mar 11, 2025 1:58pm

Copy link
Copy Markdown
Contributor

@LlGC-jop LlGC-jop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me

@LlGC-jop LlGC-jop merged commit cda1ccf into UniversalViewer:dev Mar 11, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants