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

test: add parse-tsconfig spec #397

Merged
merged 3 commits into from
Aug 19, 2022
Merged

Commits on Jul 22, 2022

  1. test: add parse-tsconfig spec

    - test passing tsconfig, buggy tsconfig, non-existent tsconfig, and not a tsconfig
    - clean: "failed to read" error will never happen as we already checked for existence of the file earlier
      - so remove the `undefined` check and instead use a non-null assertion (plus a comment explaining it)
    
    - refactor: move the integration test for tsconfig error into this unit test instead
      - faster / more efficient / more precise
    
    - refactor: split out a `makeOptions` func that creates default plugin options to use in tests
      - similar to `makeStubbedContext`
    agilgur5 committed Jul 22, 2022
    Configuration menu
    Copy the full SHA
    53b11df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    57a4437 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2022

  1. Configuration menu
    Copy the full SHA
    fab9979 View commit details
    Browse the repository at this point in the history