Disambiguate TypeScript with tsx extension. (#3464)

Using the technique as discussed in #2761.
This commit is contained in:
Eloy Durán
2017-02-20 11:17:18 +01:00
committed by Colin Seymour
parent b66fcb2529
commit f1be771611
7 changed files with 1868 additions and 27 deletions

View File

@@ -264,4 +264,11 @@ class TestHeuristcs < Minitest::Test
"XML" => all_fixtures("XML", "*.ts")
})
end
def test_tsx_by_heuristics
assert_heuristics({
"TypeScript" => all_fixtures("TypeScript", "*.tsx"),
"XML" => all_fixtures("XML", "*.tsx")
})
end
end