Skip to content

Conversation

clydin
Copy link
Member

@clydin clydin commented Oct 7, 2021

The default set of metadata fields provided to all builders executed via the BuilderHarness is controlled programmatically. The BuilderHarness is eventually intended to operate in-memory and without file system access unlike the legacy unit tests. The cli.cache.enabled option must therefore be set within the BuilderHarness initialization code. cli.cache.enabled set to false provides improved test isolation guarantees by disabling Webpack’s caching.

@clydin clydin added the target: rc This PR is targeted for the next release-candidate label Oct 7, 2021
@clydin clydin requested a review from alan-agius4 October 7, 2021 14:21
@google-cla google-cla bot added the cla: yes label Oct 7, 2021
@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Oct 7, 2021
…arness-based unit tests

The default set of metadata fields provided to all builders executed via the BuilderHarness is controlled programmatically. The BuilderHarness is eventually intended to operate in-memory and without file system access unlike the legacy unit tests. The `cli.cache.enabled` option must therefore be set within the BuilderHarness initialization code. `cli.cache.enabled` set to false provides improved test isolation guarantees by disabling Webpack’s caching.
@clydin clydin force-pushed the test-harness-webpack-caching branch from bf261c5 to 75c4ccc Compare October 7, 2021 14:52
@angular angular deleted a comment from ngbot bot Oct 7, 2021
@alan-agius4 alan-agius4 merged commit 5dba8a2 into angular:master Oct 7, 2021
@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 Nov 7, 2021
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 target: rc This PR is targeted for the next release-candidate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants