When the `runtime` flag is on (by default), this plugin adds a new helper which wraps the native `RegExp` class to provide groups support. People nees to use a polyfill (I implemented it in core-js) for browsers that don't support ES6 regexps.
4 lines
75 B
JavaScript
4 lines
75 B
JavaScript
import runner from "@babel/helper-plugin-test-runner";
|
|
|
|
runner(__dirname);
|