* Helper function to create a mock window object for testing * @param {number} width - Screen width in pixels * @returns {object} - Mock window-like object
(width)
| 36 | * @returns {object} - Mock window-like object |
| 37 | */ |
| 38 | function createMockWindow(width) { |
| 39 | return { |
| 40 | innerWidth: width |
| 41 | }; |
| 42 | } |
| 43 | |
| 44 | /** |
| 45 | * Helper function to simulate BookUI view mode detection |
nothing calls this directly
no outgoing calls
no test coverage detected