Skip to content

Commit 2e4b79a

Browse files
authored
Tests: Fix the core-js polyfill inclusion method
core-js 3 no longer includes a built file in the bundle but core-js-bundle does. Closes gh-4342 Ref gh-4341
1 parent fea7a2a commit 2e4b79a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"@babel/core": "7.4.3",
2929
"@babel/plugin-transform-for-of": "7.4.3",
3030
"commitplease": "3.2.0",
31-
"core-js": "3.0.0",
31+
"core-js-bundle": "3.0.0",
3232
"eslint-config-jquery": "1.0.1",
3333
"grunt": "1.0.4",
3434
"grunt-babel": "8.0.0",

test/data/core/jquery-iterability-transpiled.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<head>
44
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
55
<title>jQuery objects transpiled iterability test page</title>
6-
<script src="../../../node_modules/core-js/client/core.min.js"></script>
6+
<script src="../../../node_modules/core-js-bundle/minified.js"></script>
77
<script src="../../jquery.js"></script>
88
<script src="../iframeTest.js"></script>
99
<script src="jquery-iterability-transpiled.js"></script>

0 commit comments

Comments
 (0)