Internal Babel helper that provides a test runner for fixture-based tests within Babel's own monorepo. It is used in conjunction with babel-helper-fixtures to run transformation tests on a set of input/output fixtures. Current stable version is 6.26.2 (an older Babel 6 era package). Release cadence is tied to Babel releases. This package is not intended for direct use by consumers; it's an internal dependency for Babel development. Key differentiator: it is specific to Babel's test infrastructure and not a general-purpose testing utility.
npm install babel-helper-transform-fixture-test-runnerVerified import paths — ran on the pinned version, not inferred.
Demonstrates how to use the runner with a fixture directory and custom babel options.
Upgrade to the scoped @babel/helper-transform-fixture-test-runner package if using Babel 7+.
Use Babel's official testing utilities like @babel/helper-plugin-test-runner instead.
Follow Babel's fixture convention: input.js and output.js in a test case folder. Refer to Babel's own test fixtures for examples.
Install from npm: npm install babel-helper-transform-fixture-test-runner --save-dev, or switch to the scoped @babel/helper-transform-fixture-test-runner if using Babel 7+.
Use: const { run } = require('babel-helper-transform-fixture-test-runner');No dependency data recorded yet.