Skip to content

Conversation

paladox
Copy link

@paladox paladox commented Apr 26, 2025

Since the move to buffered logging in b2c8573. A call to cachedLogger.logBufferedMessages(); was missing. We fix this by adding it. We call cachedLogger.logBufferedMessages(); after reportTestFileResults but before onTestRunFinished. So the logging we do in summaryReporter. onTestRunFinished gets missed.

Fixes #2936

…l in onTestRunFinished Since the move to buffered logging in modernweb-dev@b2c8573. A call to `cachedLogger.logBufferedMessages();` was missing. We fix this by adding it. We call `cachedLogger.logBufferedMessages();` after reportTestFileResults but before onTestRunFinished. So the logging we do in summaryReporter. onTestRunFinished gets missed.
Copy link

changeset-bot bot commented Apr 26, 2025

🦋 Changeset detected

Latest commit: 55abeb1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@web/test-runner Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@paladox paladox changed the title summaryReporter: Add missing cachedLogger.logBufferedMessages() cal… summaryReporter: Add missing cachedLogger.logBufferedMessages() call in onTestRunFinished Apr 26, 2025
@paladox
Copy link
Author

paladox commented May 8, 2025

#2932 does a better fix.

@paladox paladox closed this May 8, 2025
@paladox paladox deleted the patch-1 branch May 8, 2025 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant