From c872af2fb5f0f12a339c336208e71d23f29b840f Mon Sep 17 00:00:00 2001 From: Michael Shanks Date: Thu, 27 Aug 2020 10:34:44 +0100 Subject: [PATCH] comment for node/jest polyfill --- packages/builder/scripts/jestSetup.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/scripts/jestSetup.js b/packages/builder/scripts/jestSetup.js index 52053d4092..ed2b7da3fd 100644 --- a/packages/builder/scripts/jestSetup.js +++ b/packages/builder/scripts/jestSetup.js @@ -1,3 +1,4 @@ +// Array.flat needs polyfilled in < Node 11 if (!Array.prototype.flat) { Object.defineProperty(Array.prototype, "flat", { configurable: true,