![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
cypress-lighthouse
Advanced tools
Cypress Lighthouse Plugin is a lighthouse plugin that adds the cy.lighthouse
command to audit websites against the lighthouse performance metrics.
Use npm or yarn to install cypress-lighthouse
npm install cypress-lighthouse
yarn add cypress-lighthouse
Import the commands at the top of your test file.
import 'cypress-lighthouse';
.lighthouse(url)
describe('Performance Metrics for https://google.com', () => {
before(function () {
cy.lighthouse('https://google.com').as('results')
});
it('Meets performance benchmarks', function () {
// Assert that the performance metric is greater than .85
cy.wrap(this.results.performance).should('be.gt', .85);
})
});
url (string)
Any valid URL.
A chaining component with the results of the lighthouse audit. Example:
{
"performance": 0.16,
"accessibility": 0.72,
"best-practices": 0.79,
"seo": 0.92,
"pwa": 0.3
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
Lighthouse Runner for within Cypress
The npm package cypress-lighthouse receives a total of 1,237 weekly downloads. As such, cypress-lighthouse popularity was classified as popular.
We found that cypress-lighthouse demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.