Browse Source

polyfill flat() for jest on Node 10.x

pull/597/head
Michael Shanks 6 years ago
parent
commit
e5e81aa9c6
  1. 7
      packages/builder/tests/fetchBindableProperties.spec.js

7
packages/builder/tests/fetchBindableProperties.spec.js

@ -1,4 +1,11 @@
import fetchBindableProperties from "../src/builderStore/fetchBindableProperties"
import { flat } from "lodash"
// supports running jest on Node 10.x
if (!Array.flat) {
Array.flat = flat
}
describe("fetch bindable properties", () => {
it("should return bindable properties from screen components", () => {

Loading…
Cancel
Save