aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/bootstrap.js
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2024-07-30 17:53:47 +0200
committerGitHub <noreply@github.com>2024-07-30 17:53:47 +0200
commitcd41c45d917d18839ab800816070db09a359d5bf (patch)
tree51e215812a1fe03e12b96625a268612bdf4129ea /tests/lib/bootstrap.js
parent600057f59c57fb428c0a453147476092741842c6 (diff)
downloadjquery-ui-cd41c45d917d18839ab800816070db09a359d5bf.tar.gz
jquery-ui-cd41c45d917d18839ab800816070db09a359d5bf.zip
Tests: Update jQuery Migrate from 3.4.1 to 3.5.2, simplify Migrate setup
Apart from updating jQuery Migrate, the setup is now changed so that exact Migrate versions are only references when fetching npm packages; other than that, they're represented as `jquery-migrate-1.x` & `jquery-migrate-3.x`. This will allow smaller changes when updating jQuery Migrate in the future. Closes gh-2273
Diffstat (limited to 'tests/lib/bootstrap.js')
-rw-r--r--tests/lib/bootstrap.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js
index c32d9765e..2f1b7ef4b 100644
--- a/tests/lib/bootstrap.js
+++ b/tests/lib/bootstrap.js
@@ -112,9 +112,9 @@ function migrateUrl() {
if ( jqueryVersion === "git" ) {
url = "https://releases.jquery.com/git/jquery-migrate-git";
} else if ( jqueryVersion[ 0 ] === "3" ) {
- url = "../../../external/jquery-migrate-3.4.1/jquery-migrate";
+ url = "../../../external/jquery-migrate-3.x/jquery-migrate";
} else if ( jqueryVersion[ 0 ] === "1" || jqueryVersion[ 0 ] === "2" ) {
- url = "../../../external/jquery-migrate-1.4.1/jquery-migrate";
+ url = "../../../external/jquery-migrate-1.x/jquery-migrate";
} else if ( jqueryVersion === "custom" ) {
if ( parseUrl().migrate ) {
throw new Error( "Migrate not currently supported for custom build" );