#!/bin/bash
# Copyright (c) Meta Platforms, Inc. and affiliates.
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.

# shellcheck disable=SC2094

queries_in_file autocomplete "foo_parse_fail.js" --pretty
queries_in_file autocomplete "foo.js" --pretty
queries_in_file autocomplete "bar.js" --pretty
queries_in_file autocomplete "str.js" --pretty
queries_in_file autocomplete "num.js" --pretty
queries_in_file autocomplete "bool.js" --pretty
queries_in_file autocomplete "union.js" --pretty
queries_in_file autocomplete "object_builtins.js" --pretty
queries_in_file autocomplete "function_builtins.js" --pretty
queries_in_file autocomplete "fun.js" --pretty
queries_in_file autocomplete "this.js" --pretty
queries_in_file autocomplete "this2.js" --pretty
queries_in_file autocomplete "typeparams.js" --pretty
queries_in_file autocomplete "typeparams_function.js" --pretty
queries_in_file autocomplete "generics.js" --pretty
queries_in_file autocomplete "optional.js" --pretty
queries_in_file autocomplete "jsx1.js" --pretty
queries_in_file autocomplete "jsx2.js" --pretty
queries_in_file autocomplete "jsx3.js" --pretty
queries_in_file autocomplete "jsx4.js" --pretty
queries_in_file autocomplete "jsx-attribute-member.js" --pretty
queries_in_file autocomplete "jsx-closing-tag.js" --pretty
queries_in_file autocomplete "jsx-closing-tag-unclosed.js" --pretty
queries_in_file autocomplete "jsx-function-component.js" --pretty
queries_in_file autocomplete "jsx-function-component-2.js" --pretty
queries_in_file autocomplete "jsx-function-component-3.js" --pretty
queries_in_file autocomplete "jsx-abstract-component.js" --pretty
queries_in_file autocomplete "jsx-with-children.js" --pretty
queries_in_file autocomplete "jsx-text.js" --pretty
queries_in_file autocomplete "customfun.js" --pretty
queries_in_file autocomplete "issue-1368.js" --pretty
queries_in_file autocomplete "if.js" --pretty
queries_in_file autocomplete "override.js" --pretty
queries_in_file autocomplete "member_class_property.js" --lsp
queries_in_file autocomplete "member_class_static.js" --pretty
queries_in_file autocomplete "member_interface_property.js" --lsp
queries_in_file autocomplete "member_middle.js" --pretty
queries_in_file autocomplete "opaque_types.js" --pretty
queries_in_file autocomplete "optional_chaining_middle.js" --pretty
queries_in_file autocomplete "optional_chaining_new.js" --pretty
queries_in_file autocomplete "optional_chaining_continue.js" --pretty
queries_in_file autocomplete "idx.js" --pretty
queries_in_file autocomplete "generic_alias.js" --pretty
queries_in_file autocomplete "object_literal.js" --pretty
queries_in_file autocomplete "optional_object.js" --pretty
queries_in_file autocomplete "indirect_array.js" --pretty
queries_in_file autocomplete "eval_predicate.js" --pretty
queries_in_file autocomplete "eval_destructor.js" --pretty
queries_in_file autocomplete "poly.js" --pretty
queries_in_file autocomplete "poly_no_args.js" --pretty
queries_in_file autocomplete "identifier.js" --pretty
queries_in_file autocomplete "identifier_middle.js" --pretty
queries_in_file autocomplete "identifier_import_type.js" --pretty
queries_in_file autocomplete "identifier_type.js" --pretty
queries_in_file autocomplete "super.js" --pretty
queries_in_file autocomplete "this-2.js" --pretty
queries_in_file autocomplete "pattern.js" --pretty
queries_in_file autocomplete "normalize-1.js" --pretty
queries_in_file autocomplete "normalize-2.js" --pretty
queries_in_file autocomplete "unqualified-type-annotation.js" --lsp
queries_in_file autocomplete "qualified-type-annotation.js" --pretty
queries_in_file autocomplete "qualified-type-annotation-require.js" --pretty
queries_in_file autocomplete "inherited-class-properties.js" --pretty
queries_in_file autocomplete "function-added-properties.js" --pretty
queries_in_file autocomplete "comments.js" --pretty
queries_in_file autocomplete "literal.js" --pretty
queries_in_file autocomplete "import_source.js" --pretty
queries_in_file autocomplete "import_specifiers_1.js" --pretty
queries_in_file autocomplete "import_specifiers_2.js" --pretty
queries_in_file autocomplete "object-spread-1.js" --pretty
queries_in_file autocomplete "object-spread-2.js" --pretty
queries_in_file autocomplete "object_keys_spread.js" --pretty
queries_in_file autocomplete "union-2.js" --pretty
queries_in_file autocomplete "type-alias.js" --pretty
queries_in_file autocomplete "intersection.js" --pretty
queries_in_file autocomplete "rank.js" --lsp
queries_in_file autocomplete "rank_union.js" --lsp
queries_in_file autocomplete "rank_intersection.js" --lsp
queries_in_file autocomplete "suggest_optional_chaining_1.js" --lsp
queries_in_file autocomplete "suggest_optional_chaining_2.js" --lsp
queries_in_file autocomplete "suggest_optional_chaining_3.js" --lsp
queries_in_file autocomplete "enums.js" --lsp
queries_in_file autocomplete "enum-key.js" --lsp
queries_in_file autocomplete "enum-id.js" --pretty
queries_in_file autocomplete "class_declaration_name.js" --pretty
queries_in_file autocomplete "pattern_object_key_middle.js" --pretty
queries_in_file autocomplete "jsdoc.js" --lsp
queries_in_file autocomplete "jsdoc-members-1.js" --lsp
queries_in_file autocomplete "jsdoc-members-2.js" --lsp
queries_in_file autocomplete "jsdoc-members-3.js" --lsp
queries_in_file autocomplete "jsdoc-members-4.js" --lsp
queries_in_file autocomplete "jsdoc-members-5.js" --lsp
queries_in_file autocomplete "jsdoc-members-6.js" --lsp
queries_in_file autocomplete "jsdoc-members-7.js" --lsp
queries_in_file autocomplete "jsdoc-members-8.js" --lsp
queries_in_file autocomplete "types-jsdoc.js" --lsp
queries_in_file autocomplete "qualified-types-jsdoc.js" --lsp
queries_in_file autocomplete "bracket_syntax_1.js" --lsp
queries_in_file autocomplete "bracket_syntax_2.js" --lsp
queries_in_file autocomplete "bracket_syntax_3.js" --lsp
queries_in_file autocomplete "bracket_syntax_4.js" --lsp
queries_in_file autocomplete "bracket_syntax_5.js" --lsp
queries_in_file autocomplete "bracket_syntax_6.js" --lsp
queries_in_file autocomplete "iterator.js" --lsp
queries_in_file autocomplete "bracket_syntax_needed.js" --lsp
queries_in_file autocomplete "bracket_syntax_needed_2.js" --lsp
queries_in_file autocomplete "upper_bounds_1.js" --lsp
queries_in_file autocomplete "upper_bounds_2.js" --lsp
queries_in_file autocomplete "upper_bounds_6.js" --pretty
queries_in_file autocomplete "upper_bounds_7.js" --pretty
queries_in_file autocomplete "upper_bounds_8.js" --pretty
queries_in_file autocomplete "upper_bounds_9.js" --pretty
queries_in_file autocomplete "upper_bounds_10.js" --pretty
queries_in_file autocomplete "upper_bounds_11.js" --pretty
queries_in_file autocomplete "upper_bounds_12.js" --pretty
queries_in_file autocomplete "upper_bounds_13.js" --pretty
queries_in_file autocomplete "upper_bounds_14.js" --pretty
queries_in_file autocomplete "upper_bounds_15.js" --pretty
queries_in_file autocomplete "upper_bounds_16.js" --pretty
queries_in_file autocomplete "upper_bounds_17.js" --pretty
queries_in_file autocomplete "upper_bounds_18.js" --pretty
queries_in_file autocomplete "indexed-access-1.js" --lsp
queries_in_file autocomplete "indexed-access-2.js" --lsp
queries_in_file autocomplete "indexed-access-optional-1.js" --lsp
queries_in_file autocomplete "indexed-access-optional-2.js" --lsp
queries_in_file autocomplete "typeof.js" --lsp
queries_in_file autocomplete "typeof_2.js" --lsp
queries_in_file autocomplete "recursive.js" --pretty
queries_in_file autocomplete "class_members.js" --pretty
queries_in_file autocomplete "method_signature.js" --lsp
query_at_pos autocomplete "last_empty_line.js" 5 0 --pretty
queries_in_file autocomplete "string_literal.js" --lsp
queries_in_file autocomplete "type_binding_id.js" --pretty
query_at_pos autocomplete "fixme.js" 5 4 --lsp
query_at_pos autocomplete "fixme.js" 8 5 --lsp
query_at_pos autocomplete "fixme.js" 14 8 --lsp
query_at_pos autocomplete "fixme.js" 18 12 --pretty
query_at_pos autocomplete "fixme.js" 21 10 --lsp
query_at_pos autocomplete "jsdoc_comment.js" 3 4 --lsp
query_at_pos autocomplete "jsdoc_comment.js" 8 4 --lsp
query_at_pos autocomplete "jsdoc_comment.js" 11 4 --lsp
queries_in_file autocomplete "super_member.js" --pretty
queries_in_file autocomplete "switch.js" --pretty
queries_in_file autocomplete "keywords_c.js" --pretty
queries_in_file autocomplete "keywords_f.js" --pretty
