Skip to content

Conversation

MikeMcC399
Copy link
Contributor

Issue

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

The warnings are similar to

WARNING in /home/runner/work/component-testing-quickstart-apps/component-testing-quickstart-apps/angular/my-awesome-app/src/app/app.component.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 project:

@MikeMcC399
Copy link
Contributor Author

@MikeMcC399 MikeMcC399 marked this pull request as ready for review April 19, 2025 08:47
@AtofStryker AtofStryker merged commit de0df81 into cypress-io:main Apr 21, 2025
4 checks passed
@MikeMcC399 MikeMcC399 deleted the suppress/webpack-warnings branch April 21, 2025 16:19
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