Henry Zhu 1196ec1e38
add loose/useBuiltIns option to stage presets, use it, opt babylon build (#6733)
* add loose, useBuiltIns options to presets + use loose class properties

* whitelist helpers for babylon

* use transform-for-of-as-array in babylon
2017-11-03 14:22:06 -04:00

11 lines
217 B
JavaScript

import react from "../lib";
import { expect } from "chai";
describe("react preset", () => {
it("doesn't throw with no options passed", () => {
expect(() => {
react(null);
}).not.to.throw();
});
});