Skip to content

Commit

Permalink
Tests: Fix the core-js polyfill inclusion method
Browse files Browse the repository at this point in the history
core-js 3 no longer includes a built file in the bundle but core-js-bundle
does.

Closes jquerygh-4342
Ref jquerygh-4341
  • Loading branch information
mgol authored Apr 4, 2019
1 parent fea7a2a commit 2e4b79a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@babel/core": "7.4.3",
"@babel/plugin-transform-for-of": "7.4.3",
"commitplease": "3.2.0",
"core-js": "3.0.0",
"core-js-bundle": "3.0.0",
"eslint-config-jquery": "1.0.1",
"grunt": "1.0.4",
"grunt-babel": "8.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/data/core/jquery-iterability-transpiled.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery objects transpiled iterability test page</title>
<script src="../../../node_modules/core-js/client/core.min.js"></script>
<script src="../../../node_modules/core-js-bundle/minified.js"></script>
<script src="../../jquery.js"></script>
<script src="../iframeTest.js"></script>
<script src="jquery-iterability-transpiled.js"></script>
Expand Down

0 comments on commit 2e4b79a

Please sign in to comment.