mirror of
https://github.com/github/semantic.git
synced 2024-11-28 18:23:44 +03:00
Revert "Run typescript tests"
This reverts commit bb25c8c0f70650f98e76443c143e6fed3dd17a38.
This commit is contained in:
parent
6dc9085dcd
commit
1b3110c57a
@ -24,7 +24,6 @@ import Text.Parser.TreeSitter.C
|
||||
import Text.Parser.TreeSitter.Go
|
||||
import Text.Parser.TreeSitter.JavaScript
|
||||
import Text.Parser.TreeSitter.Ruby
|
||||
import Text.Parser.TreeSitter.TypeScript
|
||||
|
||||
data ParseJSON = ParseJSON
|
||||
{ category :: Text
|
||||
@ -63,7 +62,6 @@ parserForType :: Text -> Parser (Syntax Text) (Record '[Range, Category, SourceS
|
||||
parserForType mediaType = case languageForType mediaType of
|
||||
Just C -> treeSitterParser C tree_sitter_c
|
||||
Just JavaScript -> treeSitterParser JavaScript tree_sitter_javascript
|
||||
Just TypeScript -> treeSitterParser TypeScript tree_sitter_typescript
|
||||
Just Markdown -> cmarkParser
|
||||
Just Ruby -> treeSitterParser Ruby tree_sitter_ruby
|
||||
Just Language.Go -> treeSitterParser Language.Go tree_sitter_go
|
||||
|
@ -26,12 +26,10 @@ spec = parallel $ do
|
||||
it "lists example fixtures" $ do
|
||||
examples "test/fixtures/go/" `shouldNotReturn` []
|
||||
examples "test/fixtures/javascript/" `shouldNotReturn` []
|
||||
examples "test/fixtures/typescript/" `shouldNotReturn` []
|
||||
examples "test/fixtures/ruby/" `shouldNotReturn` []
|
||||
|
||||
describe "go" $ runTestsIn "test/fixtures/go/"
|
||||
describe "javascript" $ runTestsIn "test/fixtures/javascript/"
|
||||
describe "typescript" $ runTestsIn "test/fixtures/typescript/"
|
||||
describe "ruby" $ runTestsIn "test/fixtures/ruby/"
|
||||
|
||||
where
|
||||
|
Loading…
Reference in New Issue
Block a user