Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fuzz test location-related parser options #14201

Merged
merged 34 commits into from Jan 29, 2022

Commits on Jan 25, 2022

  1. Autogenerate tests to make sure startLine and startColumn work everyw…

    …here. Also improve the performance of tests so that the fact that we have ~88,000 tests now doesn't really cause the tests to run any slower.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    0d14005 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    aee9486 View commit details
    Browse the repository at this point in the history
  3. Don't fuzz test in node 8, since for whatever reason Jest 23 on node …

    …8 takes forever after a certain number of tests, even if those tests are empty.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    4737700 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    4bf3933 View commit details
    Browse the repository at this point in the history
  5. Fix for showing code snippet again.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    60b039e View commit details
    Browse the repository at this point in the history
  6. Fix some linter errors.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    17c1093 View commit details
    Browse the repository at this point in the history
  7. Copy the full SHA
    c140ba8 View commit details
    Browse the repository at this point in the history
  8. Copy the full SHA
    e10465a View commit details
    Browse the repository at this point in the history
  9. Fix only storing cause if it's an error.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    e9fc211 View commit details
    Browse the repository at this point in the history
  10. Fix UnexpectedSuccess error.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    00fb3f6 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    63a3e0c View commit details
    Browse the repository at this point in the history
  12. Fix linter errors.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    e5933b3 View commit details
    Browse the repository at this point in the history
  13. First pass at serialization.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    3a555d4 View commit details
    Browse the repository at this point in the history
  14. Better errors and serialization.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    5648fc0 View commit details
    Browse the repository at this point in the history
  15. Fix saving output.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    dc186b1 View commit details
    Browse the repository at this point in the history
  16. Fix saving options.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    c31d5ba View commit details
    Browse the repository at this point in the history
  17. Fix linter errors and incorrect removal.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    a275b7f View commit details
    Browse the repository at this point in the history
  18. Add FUZZ environment variable.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    c6b28ec View commit details
    Browse the repository at this point in the history
  19. Fix location undefined problem when saving.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    a040ebd View commit details
    Browse the repository at this point in the history
  20. Read the actual options file in since we don't have a true copy of th…

    …e original options.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    0455aeb View commit details
    Browse the repository at this point in the history
  21. Copy the full SHA
    c703418 View commit details
    Browse the repository at this point in the history
  22. Fix linter error.

    Reviewed by @tolmasky.
    tolmasky committed Jan 25, 2022
    Copy the full SHA
    a64178a View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2022

  1. Address a few style issues.

    Reviewed by @tolmasky.
    tolmasky committed Jan 26, 2022
    Copy the full SHA
    ffb642e View commit details
    Browse the repository at this point in the history
  2. Use environment variable for TEST_FUZZ, and disable fuzz testing for …

    …Node 6, 8, and 10.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 26, 2022
    Copy the full SHA
    1a24870 View commit details
    Browse the repository at this point in the history
  3. Address more change requests.

    Reviewed by @tolmasky.
    tolmasky committed Jan 26, 2022
    Copy the full SHA
    5e76011 View commit details
    Browse the repository at this point in the history
  4. Fix lint error.

    Reviewed by @tolmasky.
    tolmasky committed Jan 26, 2022
    Copy the full SHA
    87424e1 View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    f6aeb06 View commit details
    Browse the repository at this point in the history
  6. Throw early if we are in CI, and make sure runFixtureText has its JSD…

    …ocs comments.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 26, 2022
    Copy the full SHA
    caa9a8c View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2022

  1. Fix JSDocs.

    Reviewed by @tolmasky.
    tolmasky committed Jan 27, 2022
    Copy the full SHA
    9b87eea View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    b1118e4 View commit details
    Browse the repository at this point in the history
  3. Don't check if file exists before deleting it, and only overwite opti…

    …ons if there's a throw property.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 27, 2022
    Copy the full SHA
    dec5379 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2022

  1. Put a newline at the end of JSON files.

    Reviewed by @tolmasky.
    tolmasky committed Jan 28, 2022
    Copy the full SHA
    198ad6b View commit details
    Browse the repository at this point in the history
  2. Only refrain from throwing if the error is ENOENT. Also, clean up the…

    … error message when there is no cause.
    
    Reviewed by @tolmasky.
    tolmasky committed Jan 28, 2022
    Copy the full SHA
    91f73c7 View commit details
    Browse the repository at this point in the history
  3. Fix linter error.

    Reviewed by @tolmasky.
    tolmasky committed Jan 28, 2022
    Copy the full SHA
    4ec5658 View commit details
    Browse the repository at this point in the history