Skip to content

Conversation

jkrems
Copy link
Contributor

@jkrems jkrems commented Sep 27, 2024

Previously, the testing module was split into its own entrypoint but then never loaded. Now it's just left in the overall polyfill bundle.

The bug wasn't caught by the existing test coverage, so this adds a new test that ensures that fakeAsync works.

Cleaning up the Karma files list also removes the noisy "no file matched the pattern worker-*.js" warnings that were previously generated for test suites that don't include web worker sources.

Previously, the testing module was split into its own entrypoint but
then never loaded. Now it's just left in the overall polyfill bundle.

The bug wasn't caught by the existing test coverage, so this adds a
new test that ensures that fakeAsync works.

Cleaning up the Karma `files` list also removes the noisy "no file
matched the pattern worker-*.js" warnings that were previously generated
for test suites that don't include web worker sources.
@jkrems jkrems force-pushed the jk-karma-fake-async branch from 0a041db to cc8318f Compare September 27, 2024 19:50
@jkrems jkrems added target: minor This PR is targeted for the next minor release action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 27, 2024
@jkrems jkrems requested a review from clydin September 27, 2024 19:51
@jkrems jkrems added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Sep 27, 2024
@jkrems jkrems merged commit 9d7613d into angular:main Sep 27, 2024
33 checks passed
@jkrems jkrems deleted the jk-karma-fake-async branch September 27, 2024 22:29
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker area: @angular-devkit/build-angular target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants