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

fix(test): handle pretty formatting #377

Merged
merged 1 commit into from
Jul 12, 2022

Commits on Jul 6, 2022

  1. fix(test): handle pretty formatting

    - integration tests and `pretty` default change got merged simultaneously, so the tests need to be updated to handle the new `pretty` default
    
    - the coloration of the errors is quite different when using `pretty`
      - so instead of re-implementing TS's colors in the tests, just test a portion that is the same color: the error text
    - also TS doesn't specify semantic vs. syntax, that's something `print-diagnostics` does
    
    - this test is more resilient to change as well I suppose since no error codes or colors
    agilgur5 committed Jul 6, 2022
    Configuration menu
    Copy the full SHA
    ff52799 View commit details
    Browse the repository at this point in the history