zotero/test/content
Dan Stillman 20735c425f
Add resetData() as lightweight alternative to resetDB() for sync tests (#5822)
resetData() clears user data and sync state using application APIs
instead of doing a full Zotero shutdown/reinit cycle, making it much
faster for tests that just need clean state between runs.

Also make Tags.init(), Creators.init(), Users.init(), and
SyncedSettings.loadAll() properly clear their caches before reloading,
so they are safe to call more than once.
2026-03-05 15:54:10 -05:00
..
hyphenationTest.xhtml fx128: Remove Services.jsm imports 2024-12-14 01:16:00 -05:00
hyphenationTestContent.html Fix segfault when hyphenating text in main process (#3388) 2023-09-14 02:48:50 -04:00
runtests.html Remove Chai as Promised 2025-07-30 22:31:08 -04:00
runtests.js fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
support.js Add resetData() as lightweight alternative to resetDB() for sync tests (#5822) 2026-03-05 15:54:10 -05:00