diff --git a/tests/assets/modernizr/README.md b/tests/assets/modernizr/README.md index 70f1626361..bf3241283d 100644 --- a/tests/assets/modernizr/README.md +++ b/tests/assets/modernizr/README.md @@ -1,8 +1,8 @@ -# Playwright Modernizer tests +# Playwright Modernizr tests -## Rolling Modernizer +## Rolling Modernizr -- [modernizer.com](modernizer.com) isn't getting updated anymore, see [here](https://github.com/Modernizr/Modernizr/issues/2490) and [here](https://github.com/Modernizr/Modernizr/commit/db96bdaff995a1d4abccb0dc69c77db7b47ad614). It only contains version 3.6. +- [modernizr.com](modernizr.com) isn't getting updated anymore, see [here](https://github.com/Modernizr/Modernizr/issues/2490) and [here](https://github.com/Modernizr/Modernizr/commit/db96bdaff995a1d4abccb0dc69c77db7b47ad614). It only contains version 3.6. - This is why we build it from source ourselves, using `roll.sh` (they recommend it). ## Updating expectations diff --git a/tests/assets/modernizr/roll.sh b/tests/assets/modernizr/roll.sh index fe8a3414fe..8e6dd5c651 100644 --- a/tests/assets/modernizr/roll.sh +++ b/tests/assets/modernizr/roll.sh @@ -1,13 +1,13 @@ #!/usr/bin/env bash -MODERNIZER_VERSION="44fa7b07c367a1814e8699e3a2f15c53fbe32df7" +MODERNIZR_VERSION="44fa7b07c367a1814e8699e3a2f15c53fbe32df7" cd "$(dirname "$0")" rm -rf Modernizr git clone https://github.com/Modernizr/Modernizr cd Modernizr -git checkout $MODERNIZER_VERSION +git checkout $MODERNIZR_VERSION npm ci # Modernizr minifier is not working, hence we minify with ESBuild.