Skip to content

test: speed up .only#1846

Merged
OrKoN merged 1 commit intomainfrom
orkon/speed-up-only
Apr 10, 2026
Merged

test: speed up .only#1846
OrKoN merged 1 commit intomainfrom
orkon/speed-up-only

Conversation

@OrKoN
Copy link
Copy Markdown
Collaborator

@OrKoN OrKoN commented Apr 10, 2026

the node test framework runs not only tests respecting --test-concurrency=1 but also discovery of the tests (import of the files). This makes the npm run test:only slow. This PR checks ahead of times which files have .only and only tells the node test runner to import those.

@OrKoN OrKoN requested a review from Lightning00Blade April 10, 2026 09:57
@OrKoN OrKoN force-pushed the orkon/speed-up-only branch from d4fa353 to b7ad4e0 Compare April 10, 2026 10:22
@OrKoN OrKoN force-pushed the orkon/speed-up-only branch from b7ad4e0 to b9b7aef Compare April 10, 2026 10:39
@OrKoN OrKoN enabled auto-merge April 10, 2026 10:41
@OrKoN OrKoN added this pull request to the merge queue Apr 10, 2026
Merged via the queue into main with commit 728d902 Apr 10, 2026
20 checks passed
@OrKoN OrKoN deleted the orkon/speed-up-only branch April 10, 2026 10:54
wolfib pushed a commit that referenced this pull request Apr 16, 2026
the node test framework runs not only tests respecting
`--test-concurrency=1` but also discovery of the tests (import of the
files). This makes the `npm run test:only` slow. This PR checks ahead of
times which files have .only and only tells the node test runner to
import those.
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.

2 participants