Run full test on every parser (#9070)

* Refactor test

* Fix

* Improve `hasPragma` & `insertPragma` on files has BOM

* Fix `coreFormat` cursorOffset

* Code style

* Update snapshots

* Refactor

* Restore BOM test

* Add export

* Empty file

* return after SyntaxError

* EOL test

* Fix eol tests

* Named export

* Tweak matrix

* Disable on `requirePragma`

* Disable `cr` test

* Simplify logic

* Update `verbose`

* Remove `test:full-test`

* Typo
This commit is contained in:
fisker Cheung authored and GitHub committed 2020-09-04 23:43:41 +08:00
1 parent 6c05c75e06
commit 370844cc4c
6 files changed
+186 -156

No files matched your search

+1
View File
@@ -33,4 +33,5 @@ module.exports = {
"jest-watch-typeahead/filename",
"jest-watch-typeahead/testname",
],
verbose: Boolean(process.env.FULL_TEST),
};