benjamn / ast-types

Esprima-compatible implementation of the Mozilla JS Parser API
MIT License
1.13k stars 196 forks source link

Restore whole-program parsing/validation tests, with necessary `def` updates and repository maintenance #886

Closed benjamn closed 1 year ago

benjamn commented 1 year ago

This should address @eventualbuddha's comment https://github.com/benjamn/ast-types/pull/327#issuecomment-1335967133, though of course reenabling those whole-program parsing and validations tests meant fixing the ones that were failing.

~There are still two tests failing when checking ast.errors against expected.errors. If I can't figure out what's going on with those test fixture files tomorrow, I'll just skip parsing/validating them.~ Skipped! e0ae66e99c38ecb777a08eb293c6c6b1eeec8dc3

New definitions added: