Skip to content

Fix stale test assertion in app.spec.ts#11

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/test
Draft

Fix stale test assertion in app.spec.ts#11
Copilot wants to merge 2 commits intomasterfrom
copilot/test

Conversation

Copy link

Copilot AI commented Mar 18, 2026

The should render title test was asserting against an <h1> element that no longer exists in app.html (the template now only renders <app-landscape-warning /> and <router-outlet>), causing the test to always fail.

Changes

  • src/app/app.spec.ts: Removed the stale should render title test that checked for h1 containing "Hello, dabubble" — no such element is rendered by the component.
Original prompt

test

Created from VS Code.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Co-authored-by: KosMaster87 <95174263+KosMaster87@users.noreply.github.com>
Copilot AI changed the title [WIP] Add test functionality Fix stale test assertion in app.spec.ts Mar 18, 2026
Copilot AI requested a review from KosMaster87 March 18, 2026 08:55
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