mirror of https://github.com/zulip/zulip.git
tests: Remove unused sloppy_$ flag.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
9c5978e85b
commit
d18959b1b6
|
@ -90,7 +90,6 @@ const admin = {
|
|||
|
||||
user_groups.initialize({realm_user_groups: [nobody, everyone, admin]});
|
||||
function test_ui(label, f) {
|
||||
// The sloppy_$ flag lets us reuse setup from prior tests.
|
||||
run_test(label, (helpers) => {
|
||||
$("textarea#compose-textarea").val("some message");
|
||||
f(helpers);
|
||||
|
|
|
@ -21,17 +21,13 @@ exports.noop = () => {};
|
|||
|
||||
exports.suite = [];
|
||||
|
||||
async function execute_test(label, f, opts) {
|
||||
const {sloppy_$} = opts || {};
|
||||
|
||||
async function execute_test(label, f) {
|
||||
/* istanbul ignore if */
|
||||
if (verbose) {
|
||||
console.info(" test: " + label);
|
||||
}
|
||||
|
||||
if (!sloppy_$ && $.clear_all_elements) {
|
||||
$.clear_all_elements();
|
||||
}
|
||||
$.clear_all_elements();
|
||||
zpage_billing_params.reset();
|
||||
zpage_params.reset();
|
||||
|
||||
|
|
Loading…
Reference in New Issue