def test_serialize_var_declaration_with_immediate_assignment(): statement = js.var("x", js.ref("y")) assert_equal("var x = y;", _dumps(statement))
def test_serialize_var_declaration(): statement = js.var("x") assert_equal("var x;", _dumps(statement))