From 897106602729d23e1838c7ea1055be11baaee1aa Mon Sep 17 00:00:00 2001 From: Quentin Monmert Date: Wed, 14 Jul 2021 14:35:23 +0200 Subject: [PATCH] Fix upgrade Lighthouse 8.0.0 -> 8.1.0 --- generators/client/templates/common/package.json | 2 +- .../templates/src/test/javascript/cypress/plugins/index.ts.ejs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generators/client/templates/common/package.json b/generators/client/templates/common/package.json index beb1fe1f4b76..726fed2c0440 100644 --- a/generators/client/templates/common/package.json +++ b/generators/client/templates/common/package.json @@ -6,7 +6,7 @@ "cypress": "7.7.0", "eslint-plugin-cypress": "2.11.3", "cypress-audit": "1.0.0", - "lighthouse": "8.0.0", + "lighthouse": "8.1.0", "nyc": "15.1.0" }, "dependencies": { diff --git a/generators/cypress/templates/src/test/javascript/cypress/plugins/index.ts.ejs b/generators/cypress/templates/src/test/javascript/cypress/plugins/index.ts.ejs index bb595ec13a9a..8cb089aa6413 100644 --- a/generators/cypress/templates/src/test/javascript/cypress/plugins/index.ts.ejs +++ b/generators/cypress/templates/src/test/javascript/cypress/plugins/index.ts.ejs @@ -30,7 +30,7 @@ // the project's config changing) import fs = require('fs');; import { lighthouse, pa11y, prepareAudit } from 'cypress-audit'; -import ReportGenerator = require('lighthouse/lighthouse-core/report/report-generator'); +import ReportGenerator = require('lighthouse/report/report-generator'); /** * @type {Cypress.PluginConfig} */