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

feat(config): add read initial options helper #13356

Merged
merged 24 commits into from Oct 3, 2022

Commits on Oct 2, 2022

  1. feat(config): add read initial options helper

    Add `readInitialOptions` function to the jest-config package. This is a helper function that can be useful for consumers of the jest programmatic api. It exposes the functionality that jest uses to read config from different sources.
    nicojs committed Oct 2, 2022
    Copy the full SHA
    8d598dd View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    aabb8de View commit details
    Browse the repository at this point in the history
  3. Update changelog

    nicojs committed Oct 2, 2022
    Copy the full SHA
    e9b5c87 View commit details
    Browse the repository at this point in the history
  4. Add copyright headers

    nicojs committed Oct 2, 2022
    Copy the full SHA
    b6276fb View commit details
    Browse the repository at this point in the history
  5. Copy the full SHA
    d93a12c View commit details
    Browse the repository at this point in the history
  6. Update packages/jest-config/src/index.ts

    Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
    nicojs and SimenB committed Oct 2, 2022
    Copy the full SHA
    eadd24e View commit details
    Browse the repository at this point in the history
  7. Update changelog sorting

    nicojs committed Oct 2, 2022
    Copy the full SHA
    947bfaa View commit details
    Browse the repository at this point in the history
  8. Move integration tests to e2e

    nicojs committed Oct 2, 2022
    Copy the full SHA
    7793ff2 View commit details
    Browse the repository at this point in the history
  9. Copy the full SHA
    153af9b View commit details
    Browse the repository at this point in the history
  10. Copy the full SHA
    4294610 View commit details
    Browse the repository at this point in the history
  11. Copy the full SHA
    6d347a6 View commit details
    Browse the repository at this point in the history
  12. Import from @jest/types instead of jest-runner

    Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
    nicojs and mrazauskas committed Oct 2, 2022
    Copy the full SHA
    c2dffe9 View commit details
    Browse the repository at this point in the history
  13. Update packages/jest-config/src/__tests__/readInitialOptions.test.ts

    Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
    nicojs and mrazauskas committed Oct 2, 2022
    Copy the full SHA
    b3a13cc View commit details
    Browse the repository at this point in the history
  14. Update packages/jest-config/src/__tests__/readInitialOptions.test.ts

    Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
    nicojs and mrazauskas committed Oct 2, 2022
    Copy the full SHA
    c41dbdf View commit details
    Browse the repository at this point in the history
  15. Update packages/jest-config/src/__tests__/readInitialOptions.test.ts

    Co-authored-by: Tom Mrazauskas <tom@mrazauskas.de>
    nicojs and mrazauskas committed Oct 2, 2022
    Copy the full SHA
    8b479f5 View commit details
    Browse the repository at this point in the history
  16. Remove final .name

    nicojs committed Oct 2, 2022
    Copy the full SHA
    9f01d80 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2022

  1. Copy the full SHA
    188b080 View commit details
    Browse the repository at this point in the history
  2. Add copyright header

    nicojs committed Oct 3, 2022
    Copy the full SHA
    5c54a6a View commit details
    Browse the repository at this point in the history
  3. Read by proxy for every test

    nicojs committed Oct 3, 2022
    Copy the full SHA
    53b49ba View commit details
    Browse the repository at this point in the history
  4. Update e2e/__tests__/readInitialOptions.test.ts

    Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
    nicojs and SimenB committed Oct 3, 2022
    Copy the full SHA
    34e1a32 View commit details
    Browse the repository at this point in the history
  5. Refactor if/else -> if

    nicojs committed Oct 3, 2022
    Copy the full SHA
    3cf1f21 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    3d535ba View commit details
    Browse the repository at this point in the history
  7. Update e2e/__tests__/readInitialOptions.test.ts

    Co-authored-by: Simen Bekkhus <sbekkhus91@gmail.com>
    nicojs and SimenB committed Oct 3, 2022
    Copy the full SHA
    5ab7237 View commit details
    Browse the repository at this point in the history
  8. Require argv to be supplied

    nicojs committed Oct 3, 2022
    Copy the full SHA
    2dfe6ef View commit details
    Browse the repository at this point in the history