babel/packages/babel-helper-transform-fixture-test-runner
Moti Zilberman b8eeddf960 Automatically generate missing expected.js fixtures (#4735)
This is much like Babylon's existing behavior around `expected.json`. The equivalent of babel/babylon#188 is already applied here, to guard against silent failure (and a potential false positive) if a test is accidentally committed without its expected.js.
2016-10-17 16:39:32 +02:00
..
2016-10-05 09:56:26 -04:00
2015-11-12 01:09:31 -08:00

babel-helper-transform-fixture-test-runner

NOTE: This is an internal Babel module and may not work outside. Use at your own risk.

Usage

import runFixtures from "babel-helper-transform-fixture-test-runner";
import getFixtures from "babel-helper-fixtures";

runFixtures(getFixtures("/User/sebmck/Projects/babel-something/test/fixtures"));