mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
FIX: broken debounce in search terms.
This commit is contained in:
@ -11,9 +11,8 @@ test("search", (assert) => {
|
||||
assert.ok(!exists('#search-dropdown .results ul li'), 'no results by default');
|
||||
});
|
||||
|
||||
// TODO need to change the way Discourse.ajax is stubbed so it has the .abort method
|
||||
// fillIn('#search-term', 'dev');
|
||||
// andThen(() => {
|
||||
// assert.ok(exists('#search-dropdown .results ul li'), 'it shows results');
|
||||
// });
|
||||
fillIn('#search-term', 'dev');
|
||||
andThen(() => {
|
||||
assert.ok(exists('#search-dropdown .results ul li'), 'it shows results');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user