Skip to content

test(adapters): add stress test for chalk adapter at 10k writes - #29

Open
tmdeveloper007 wants to merge 1 commit into
mainfrom
test/adapters-chalk-stress
Open

test(adapters): add stress test for chalk adapter at 10k writes#29
tmdeveloper007 wants to merge 1 commit into
mainfrom
test/adapters-chalk-stress

Conversation

@tmdeveloper007

Copy link
Copy Markdown
Owner

What

Adds a stress test that performs 10,000 rapid successive chalk writes in a tight loop, verifying no buffer overflow, style bleed, or crashes occur.

Why

The chalk adapter had no stress testing. High-volume output scenarios (e.g., progress bars, live logs) could corrupt styled output.

Testing

bun vitest run packages/adapters/src/chalk/stress.test.ts


Automated by Mavis TermUI Bot (fork-only PR)

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.

1 participant