webextension-polyfill/test/mocha-babel.js

8 lines
114 B
JavaScript

require("@babel/register")({
presets: [["@babel/env", {
targets: {
node: "current",
},
}]],
});