Removing Modernizr from the project

This commit is contained in:
Rob Larsen
2023-09-02 02:03:46 +00:00
committed by Rob Larsen
parent 7e8b7e9c03
commit 22d800ad31
16 changed files with 1 additions and 433 deletions

View File

@@ -51,11 +51,6 @@ function runTests() {
describe(`Test if the files from the "${dir}" directory have the expected content`, () => {
it('"index.html" should contain the correct Modernizr version in the local URL', (done) => {
const string = `js/vendor/modernizr-${pkg.devDependencies.modernizr}.min.js`;
checkString(path.resolve(dir, 'index.html'), string, done);
});
it('"style.css" should contain a custom banner', function (done) {
const string = `/*! HTML5 Boilerplate v${pkg.version} | ${pkg.license} License | ${pkg.homepage} */\n`;
checkString(path.resolve(dir, 'css/style.css'), string, done);

View File

@@ -39,9 +39,6 @@ const expectedFilesInDistDir = [
'js/',
'js/app.js',
'js/vendor/',
`js/vendor/modernizr-${pkg.devDependencies.modernizr}.min.js`,
'LICENSE.txt',
'robots.txt',
'site.webmanifest',