title: TypeError: Object.values is not a function -- How to correctly polyfill with babel-preset-env in jest?
body: <p>I get the following error after upgrading to Jest v20 where they removed the automatic <code>babel-polyfill</code> due to memory leaks:</p>
  
  <p><code>TypeError: Object.values is not a function</code></p>
  
  <p>I realize I need to polyfill this on my own now, I am using <code>babel-preset-env</code> and have the following <code>.babelrc</code> file:</p>
  
  <pre><code>  "env": {
      "development": {
        "plugins": ["transform-react-jsx-source"]
      },
      "test": {
        "presets": [
          "react",
          "stage-3",
          ["env", {
            "targets": {
              "browsers": [
                "firefox &gt;= 36",
                "chrome &gt;= 38",
                "opera &gt;= 25",
                "safari &gt;= 9",
                "ios &gt;= 9"
              ],
              "node": "6.11.4"
            },
            "useBuiltIns": "usage",
            "include": ["es7.object.values"],
            "debug": true
          }],
          "jest"
        ],
        "plugins": [
          "transform-class-properties"
        ],
      }
    }
  </code></pre>
  
  <p>I can see that <code>es7.object.values</code> is being polyfilled in the debug output:</p>
  
  <pre><code>Using polyfills:
    ...
    es7.object.values {"chrome":"38","firefox":"36","ios":"9","safari":"9","node":"6.11.4"}
  </code></pre>
  
  <p>But I am still getting the error message, help!</p>