Commit graph

3 commits

Author SHA1 Message Date
bfdb742d9e feat: add comprehensive modal error regression tests and fix saveConversationHistory import
- Add 8 new modal-specific integration tests covering all session errors:
  * Modal import function validation
  * Correct import path verification
  * Generator function wrapper correctness
  * Window global function exports
  * Safe chat history handling
  * Error handling patterns
  * Export/import matching
  * Circular dependency prevention
- Fix saveConversationHistory import from ./chat.js to ./storage.js
- Window functions openTTSModal/openTranslateModal already properly exported in ui.js
2025-07-03 18:27:11 -04:00
aa62dacb8e fix: add missing handleTTS and downloadAudio exports to tts.js 2025-07-03 17:05:36 -04:00
2d4b52399c fix: add toggleUncloseaiEmbeddedModal + integration tests
- Add missing toggleUncloseaiEmbeddedModal function for floating button
- Create comprehensive integration test suite (15 tests)
- Tests verify all imports/exports work correctly
- Tests ensure proper module structure after refactoring
- All tests passing  - refactoring is solid!
2025-07-03 16:43:38 -04:00