Skip to content

Commit

Permalink
Adding extra test
Browse files Browse the repository at this point in the history
  • Loading branch information
BrentBlanckaert committed Dec 11, 2024
1 parent 2e62ce3 commit e51e490
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_language_quircks.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@ def test_typescript_set_typing(tmp_path: Path, pytestconfig: pytest.Config):

assert result in valid_results

def test_typescript_function_call_typing(tmp_path: Path, pytestconfig: pytest.Config):
statement_string = "test = {'test', True, testing(10)}"
result = convert_statement(parse_string(statement_string), full=True)

assert result == 'let test : Set<any> = new Set(["test", true, testing(10)])'


def test_javascript_vanilla_object(tmp_path: Path, pytestconfig: pytest.Config):
conf = configuration(
Expand Down

0 comments on commit e51e490

Please sign in to comment.