Skip to content

Conversation

dynst
Copy link
Contributor

@dynst dynst commented Aug 15, 2025

Unless Jasmine, Vitest doesn't need identical boilerplate files copied into every package directory.

Blocked on:
#1809

Converting is easy now that xit is in use:

@dynst dynst force-pushed the vitest-it branch 4 times, most recently from 886315e to 25f8e03 Compare August 18, 2025 03:21
dynst added 4 commits October 8, 2025 20:19
zero boilerplate files copied into every package directory.
versions before 0.3.7 had no TypeScript declarations for .mjs code.
@dynst dynst marked this pull request as draft October 8, 2025 22:15
@dynst
Copy link
Contributor Author

dynst commented Oct 8, 2025

Why is there a --stream argument that's always passed to all the tests? And why is it in the workflow config, instead of in the root-level package.json, or individual packages' scripts?

run: yarn test --stream

yarn test --stream

Is there another way to do whatever it is it's doing?

0d41983

@dynst dynst mentioned this pull request Oct 8, 2025
dynst added 2 commits October 9, 2025 03:30
In a local test it took 9.8s to complete.
Even given the comment, 1s might be excessively large.
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