zotero/test
Abe Jellinek 97dbcc6870 Restore timeout in dataObjectTest.js, fix test
OK, the timeout removed in 05e8da wasn't actually useless, but this test
was.

41706a changed erase() so it no longer forwards skipNotifier when
deleting child items. That means that we *would* get a notify() call for
the deleted child, so the test should have been failing.

However! Because of a bug in Bluebird's filtered catch() implementation,
Promise.TimeoutError wasn't recognized as an Error subclass, and it was
instead used as a predicate function, which would always pass.

So all errors were caught as "timeouts" and suppressed, making this test
always pass. Now it no longer always passes (but does pass with the
current behavior).
2025-07-30 22:30:57 -04:00
..
components fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
content fx140: Asyncify/ESMify tests 2025-07-30 22:30:53 -04:00
resource fx140: Remove EventUtils 2025-07-30 22:30:38 -04:00
tests Restore timeout in dataObjectTest.js, fix test 2025-07-30 22:30:57 -04:00
chrome.manifest fx115: Restore test runner 2024-03-30 00:58:53 -04:00
runtests.sh Fix test runner 2025-07-30 22:30:56 -04:00