aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-04-04 23:45:57 +0200
committerGitHub <noreply@github.com>2019-04-04 23:45:57 +0200
commit2e4b79ab8f7c43d36537a743c4c1a1a5b17e130e (patch)
tree6d3db57217bb127edb9ac6ae6a6d75e6eac72bff
parentfea7a2a328f475048b4450c5c02a60832fdcfc3c (diff)
downloadjquery-2e4b79ab8f7c43d36537a743c4c1a1a5b17e130e.tar.gz
jquery-2e4b79ab8f7c43d36537a743c4c1a1a5b17e130e.zip
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
-rw-r--r--package.json2
-rw-r--r--test/data/core/jquery-iterability-transpiled.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/package.json b/package.json
index cb10ded26..f75d49905 100644
--- a/package.json
+++ b/package.json
@@ -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",
diff --git a/test/data/core/jquery-iterability-transpiled.html b/test/data/core/jquery-iterability-transpiled.html
index 69ac18252..ca0e88530 100644
--- a/test/data/core/jquery-iterability-transpiled.html
+++ b/test/data/core/jquery-iterability-transpiled.html
@@ -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>