commit | c452ed485155b34f0fa7060175b6e05129cfe0c8 | [log] [tgz] |
---|---|---|
author | Tao Zhou <taoalpha@google.com> | Fri Oct 25 13:35:36 2019 +0200 |
committer | David Pursehouse <dpursehouse@collab.net> | Sat Oct 26 21:29:22 2019 +0000 |
tree | 3b25c48d4aa32e4e43220983969b11f67c5c485b | |
parent | 8bc1ee5eeaedb1b5f1d6aff7440dcf5acafc2de9 [diff] |
Fix flaky test from gr-change-list Missing done for async tests Change-Id: I02ca997d768773f0bbcc60e92532c19e5f4c2a38 (cherry picked from commit d027c78f4922a136c7cab52c0a5207cec9ada65f)
diff --git a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list_test.html b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list_test.html index 395769b..87b1665 100644 --- a/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list_test.html +++ b/polygerrit-ui/app/elements/change-list/gr-change-list/gr-change-list_test.html
@@ -497,7 +497,7 @@ teardown(() => { sandbox.restore(); }); - test('keyboard shortcuts', () => { + test('keyboard shortcuts', done => { element.selectedIndex = 0; element.sections = [ { @@ -560,6 +560,7 @@ MockInteractions.pressAndReleaseKeyOn(element, 82); // 'r' assert.equal(change.reviewed, false, 'Should mark change as unreviewed'); + done(); }); });