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(Programmatic API): Add programmatic API #14062

Open
wants to merge 43 commits into
base: main
Choose a base branch
from

Commits on Apr 9, 2023

  1. feat(Programmatic API): Add programmatic API

    Add a documented programmatic API to run jest. It allows this use case:
    
    ```ts
    import { run, readConfigs } from 'jest';
    const { globalConfig, configs } = await readConfigs(process.argv, [process.cwd()]);
    // change globalConfig or configs as you see fit
    const results = await run(globalConfig, configs);
    console.log(results);
    ```
    nicojs committed Apr 9, 2023
    Configuration menu
    Copy the full SHA
    908c73d View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2023

  1. Implement review comments

    nicojs committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    e2c65f8 View commit details
    Browse the repository at this point in the history
  2. Fix lint: add copyright header

    nicojs committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    6a75acf View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

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

Commits on Apr 12, 2023

  1. Fix type error

    nicojs committed Apr 12, 2023
    Configuration menu
    Copy the full SHA
    8155081 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. Remove pnpapi from types

    nicojs committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    79dbfd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 21, 2023

  1. Add e2e test for runCore

    nicojs committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    d0fd9a9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b9e9278 View commit details
    Browse the repository at this point in the history
  3. Fix lint e2e

    nicojs committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    d8f6e26 View commit details
    Browse the repository at this point in the history
  4. fix prettier

    nicojs committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    68c924f View commit details
    Browse the repository at this point in the history
  5. Add unit tests

    nicojs committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    68ac3ef View commit details
    Browse the repository at this point in the history
  6. Add copyright header

    nicojs committed Apr 21, 2023
    Configuration menu
    Copy the full SHA
    a375b0d View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2023

  1. Add docs for programmatic api

    nicojs committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    0f8f6f2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1935947 View commit details
    Browse the repository at this point in the history
  3. Reorder exports

    nicojs committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    77723b3 View commit details
    Browse the repository at this point in the history
  4. Format

    nicojs committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    a749243 View commit details
    Browse the repository at this point in the history

Commits on Apr 30, 2023

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

Commits on May 2, 2023

  1. Configuration menu
    Copy the full SHA
    ac2b879 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5c254f View commit details
    Browse the repository at this point in the history
  3. Fix lint

    nicojs committed May 2, 2023
    Configuration menu
    Copy the full SHA
    59cfa1a View commit details
    Browse the repository at this point in the history
  4. Undo unwanted changes

    nicojs committed May 2, 2023
    Configuration menu
    Copy the full SHA
    d570bc8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    80d3c23 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    0b6f93d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6877134 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    26e87e1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f3e41ef View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. fix(expect, jest-snapshot): Pass test.failing tests when containing…

    … failing snapshot matchers (jestjs#14313)
    KhaledElmorsy authored and nicojs committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    c3b95f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2677e1d View commit details
    Browse the repository at this point in the history
  3. chore(deps): update yarn to v3.6.4 (jestjs#14600)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored and nicojs committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    8ec975a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ccc7e4e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f04118d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f8e0259 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    098cc21 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    65fe53f View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. Configuration menu
    Copy the full SHA
    9f1a113 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8da9922 View commit details
    Browse the repository at this point in the history
  3. prettier

    nicojs committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    6a26f7f View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

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

Commits on Oct 31, 2023

  1. Configuration menu
    Copy the full SHA
    fe45d4f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef783ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    46a7ce9 View commit details
    Browse the repository at this point in the history
  4. refactor: remove _ prefix

    nicojs committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    9f056b8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    92d6d44 View commit details
    Browse the repository at this point in the history