Skip to content

Fixture: change only babel.config.js or .babelrc in a Jest project #99

Closed

Description

@adityankale190895

babel.config.js and .babelrc control how babel-jest transforms every test file, so changing them can change any test's result. They are listed in file-references.ts as files that affect tests without being imported, but no test checks what diffci check does when one of them is the only change.

Add a synthetic-repository fixture: a small Jest project using babel-jest, with a head commit that changes only babel.config.js, and a second case that changes only .babelrc. Record what DiffCI selects today.

Done when: both cases are tests in tests/ (tests/git/git-diff.temp-repo.test.ts shows how to build a temporary repository), and the PR description says whether the result is safe (every Jest test transformed by Babel must run).

Setup and conventions are in CONTRIBUTING.md: run npm test, sign off commits with git commit -s (DCO). Comment here if you want to take it, and ask anything.

Activity

  1. added
    enhancement
    good first issue
    on Nov 11, 2026
  2. added a commit that references this issue on Nov 15, 2026
    843e07a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions