* add loose, useBuiltIns options to presets + use loose class properties * whitelist helpers for babylon * use transform-for-of-as-array in babylon
11 lines
217 B
JavaScript
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();
|
|
});
|
|
});
|