Skip to content

Conversation

@EzraBrooks
Copy link
Collaborator

Public API Changes

None

Description

To ensure that callback failures don't sneak through in testing.

Also to ensure we aren't crowding users' consoles during normal operation.

@EzraBrooks EzraBrooks force-pushed the add-vitest-fail-on-console branch from da99411 to 790e7b2 Compare November 9, 2025 03:19
import failOnConsole from "vitest-fail-on-console";

failOnConsole({
shouldFailOnWarn: false,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is to allow the pre-existing console.warn invocation in the CBOR implementation.

Base automatically changed from make-all-failurecallbacks-default-to-console.error to develop November 9, 2025 04:11
To ensure that callback failures don't sneak through in testing.

Also to ensure we aren't crowding users' consoles during normal
operation.
@EzraBrooks EzraBrooks force-pushed the add-vitest-fail-on-console branch from 790e7b2 to 3806fa8 Compare November 9, 2025 19:43
@EzraBrooks EzraBrooks marked this pull request as ready for review November 9, 2025 19:43
@EzraBrooks EzraBrooks requested review from bjsowa and sea-bass November 9, 2025 19:43
Copy link
Contributor

@sea-bass sea-bass left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sweet

@EzraBrooks EzraBrooks merged commit a0c4e0b into develop Nov 9, 2025
3 checks passed
@EzraBrooks EzraBrooks deleted the add-vitest-fail-on-console branch November 9, 2025 20:32
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.

3 participants