mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
node tests: Use set_find_results in stream_edit test.
This commit is contained in:
@@ -202,6 +202,11 @@ function FakeElement(selector, opts) {
|
||||
return self;
|
||||
},
|
||||
set_find_results(find_selector, jquery_object) {
|
||||
if (jquery_object === undefined) {
|
||||
throw new Error(
|
||||
"Please make the 'find result' be something like $.create('unused')",
|
||||
);
|
||||
}
|
||||
find_results.set(find_selector, jquery_object);
|
||||
},
|
||||
set_height(fake_height) {
|
||||
|
||||
Reference in New Issue
Block a user