Skip to content

Conversation

@MikeMcC399
Copy link
Contributor

Issue

Running Cypress component tests in the following Angular projects, results in multiple warnings:

The warnings are similar to

WARNING in /home/runner/work/cypress-component-testing-apps/cypress-component-testing-apps/angular/cypress/e2e/login.cy.ts is part of the TypeScript compilation but it's unused.
Add only entry points to the 'files' or 'include' properties in your tsconfig.

See Action logs.

Assessment

Change

Add:

webpackConfig: { stats: "errors-only" }

to cypress.config.ts files in projects:

@MikeMcC399 MikeMcC399 force-pushed the suppress/webpack-warnings branch from 8423d93 to 8832c97 Compare April 19, 2025 08:41
@MikeMcC399

This comment was marked as resolved.

@AtofStryker AtofStryker merged commit 458a3ac into cypress-io:main Apr 24, 2025
10 checks passed
@MikeMcC399 MikeMcC399 deleted the suppress/webpack-warnings branch April 24, 2025 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants