feat(angular): support ATL zoneless imports - #1367
Open
ThiloAschebrock wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Extends the plugin’s Testing Library module detection to recognize Angular Testing Library’s secondary zoneless entry point (@testing-library/angular/zoneless), ensuring Angular-specific rules don’t get skipped when users import from the zoneless module.
Changes:
- Added
@testing-library/angular/zonelessto the plugin’s canonical list of recognized Testing Library modules. - Updated module-detection unit tests to include the new Angular zoneless import.
- Updated multiple rule test suites to treat the zoneless entry point as a supported Angular Testing Library import source.
Reviewed changes
Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/utils/index.ts | Adds @testing-library/angular/zoneless to LIBRARY_MODULES so core module detection recognizes it. |
| tests/utils/is-testing-library-module.test.ts | Extends module-detection test coverage to include the new zoneless import source. |
| tests/rules/await-async-queries.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/await-async-utils.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-await-sync-events.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-await-sync-queries.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-container.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-debugging-utils.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-node-access.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-promise-in-fire-event.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-render-in-lifecycle.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-test-id-queries.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-wait-for-multiple-assertions.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-wait-for-side-effects.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/no-wait-for-snapshot.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/prefer-find-by.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/prefer-query-by-disappearance.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/prefer-screen-queries.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
| tests/rules/render-result-naming-convention.test.ts | Includes zoneless entry point in supported frameworks for rule test coverage. |
MichaelDeBoey
approved these changes
Jul 30, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1367 +/- ##
=======================================
Coverage 97.35% 97.35%
=======================================
Files 49 49
Lines 6020 6021 +1
Branches 1544 1544
=======================================
+ Hits 5861 5862 +1
Misses 157 157
Partials 2 2 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Signed-off-by: Thilo Aschebrock <thilo.aschebrock@tngtech.com>
MichaelDeBoey
force-pushed
the
pr/recognize-zoneless-angular-imports
branch
from
August 2, 2026 20:37
82bdb5f to
4b153ea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checks
Changes
@testing-library/angular/zonelessContext
Fixes #1366