zotero/test
Dan Stillman ef7da3486a New state-handling approach for item tag changes
If this works out I think we'll want to use this approach for
all data layer changes.

Previously, an unsaved change on an object would update its state
immediately, which was fine for synchronous code but breaks down if a
save involves multiple asynchronous calls, because modifying state after
the relevant data has been saved to the DB but before the `_changed`
object has been cleared would mean that new changes would be lost. Now,
changes are written to _changedData, and a get for the data first checks
_changedData before checking the state property (e.g., _tags) directly.
The changedData property is cleared as it's written, and once the object
is saved, the reload updates the state property with the new data.
2017-07-18 17:31:40 -04:00
..
components Add -e flag to runtests.sh to stop tests after a given file 2017-06-20 05:48:38 -04:00
content Add .contentType and .charset options for importFromFile() 2017-07-01 06:31:46 -04:00
resource Support generators in tests via coMocha, instead of custom code 2017-06-01 11:36:17 -04:00
tests New state-handling approach for item tag changes 2017-07-18 17:31:40 -04:00
chrome.manifest Unit testing infrastructure 2015-03-07 16:34:55 -05:00
install.rdf Update maxVersion 2015-10-29 03:57:08 -04:00
runtests.sh Automatically run JS build process before tests if not running 2017-07-01 06:31:46 -04:00