mirror of
https://github.com/zotero/zotero.git
synced 2026-10-06 02:50:03 +00:00
Fix bug in #_setHighlightedRowsCallback() test
This commit is contained in:
parent
4ca92adb89
commit
38b0b3a69a
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ describe("ZoteroPane", function() {
|
|||
var spy = sinon.spy(zp.collectionsView, 'setHighlightedRows');
|
||||
await zp._setHighlightedRowsCallback();
|
||||
|
||||
assert.sameMembers(spy.getCall(0).args[0], ['C1']);
|
||||
assert.sameMembers(spy.getCall(0).args[0], [collection1.treeViewID]);
|
||||
var rows = win.document.querySelectorAll('.highlighted');
|
||||
assert.lengthOf(rows, 1);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue