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
This commit is contained in:
Michał Gołębiowski-Owczarek 2019-04-04 23:45:57 +02:00 committed by GitHub
parent fea7a2a328
commit 2e4b79ab8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
"@babel/core": "7.4.3", "@babel/core": "7.4.3",
"@babel/plugin-transform-for-of": "7.4.3", "@babel/plugin-transform-for-of": "7.4.3",
"commitplease": "3.2.0", "commitplease": "3.2.0",
"core-js": "3.0.0", "core-js-bundle": "3.0.0",
"eslint-config-jquery": "1.0.1", "eslint-config-jquery": "1.0.1",
"grunt": "1.0.4", "grunt": "1.0.4",
"grunt-babel": "8.0.0", "grunt-babel": "8.0.0",

View File

@ -3,7 +3,7 @@
<head> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>jQuery objects transpiled iterability test page</title> <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="../../jquery.js"></script>
<script src="../iframeTest.js"></script> <script src="../iframeTest.js"></script>
<script src="jquery-iterability-transpiled.js"></script> <script src="jquery-iterability-transpiled.js"></script>