Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release: Prerelease 8.5.0-alpha.14 #29752

Merged
merged 46 commits into from
Nov 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
68c4062
add minimal coverage reporting
JReinhold Nov 20, 2024
1e0869b
fix allTestsRun
JReinhold Nov 21, 2024
5aff4be
static link to coverage
JReinhold Nov 21, 2024
50c9292
use configOverrides for coverage config
JReinhold Nov 26, 2024
f0c9a72
Merge branch 'norbert/testmodule-options' of github.com:storybookjs/s…
JReinhold Nov 26, 2024
dcd8483
use cache dir for coverage staticDir
JReinhold Nov 26, 2024
652eaff
Merge branch 'norbert/testmodule-options' of github.com:storybookjs/s…
JReinhold Nov 26, 2024
3af473f
Merge branch 'next' into jeppe/vitest-coverage-backend
ndelangen Nov 26, 2024
7a2bf5a
share testManager with the coverage reporter
ndelangen Nov 26, 2024
50d022b
Merge branch 'next' into jeppe/vitest-coverage-backend
ndelangen Nov 26, 2024
19ec3f6
trying to set coverage override vitest config
ndelangen Nov 26, 2024
426ecaf
This seems like the right thing to do to me @JReinhold
ndelangen Nov 26, 2024
f51b127
add to UI; I'm sure either Jeppe or Gert will change
ndelangen Nov 26, 2024
7a1e4b9
restart vitest on coverage change
JReinhold Nov 26, 2024
39fdd97
only set coverage options when coveage is enabled
JReinhold Nov 27, 2024
c5c3cf6
cleanup
JReinhold Nov 27, 2024
f0fdfb1
fix config types
JReinhold Nov 27, 2024
a5a0b1f
Merge branch 'testing-module-settings' of github.com:storybookjs/stor…
JReinhold Nov 27, 2024
7b001de
integrate coverage backend with UI
JReinhold Nov 28, 2024
6c40e01
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/vi…
JReinhold Nov 28, 2024
2cf1d42
configure coverage color based on watermark config
JReinhold Nov 28, 2024
69884ad
cleanup
JReinhold Nov 28, 2024
172f64c
use coverage.statement as metric
JReinhold Nov 28, 2024
13f59b2
only boot vitest child process on addon-test-specific events
JReinhold Nov 28, 2024
d8948f0
restart vitest before every coverage run
JReinhold Nov 28, 2024
1563d50
cleanup
JReinhold Nov 28, 2024
e69a832
Merge branch 'next' of github.com:storybookjs/storybook into jeppe/vi…
JReinhold Nov 28, 2024
979f974
fix types
JReinhold Nov 28, 2024
4a69993
disable coverage in watch mode
JReinhold Nov 28, 2024
37fb3f7
improve vitest restart comment
JReinhold Nov 29, 2024
56666f0
add coverage html link
JReinhold Nov 29, 2024
5b5a436
rename details.coverage to details.coverageSummary, to not confuse wi…
JReinhold Nov 29, 2024
b13506e
simplify
JReinhold Nov 29, 2024
9f51803
Merge branch 'next' into jeppe/vitest-coverage-backend
JReinhold Nov 29, 2024
c327a49
Build: Fix portable stories tests by moving from jsdom to happy-dom
yannbf Nov 29, 2024
0a656a7
Merge pull request #29748 from storybookjs/fix/portable-stories-tests
yannbf Nov 29, 2024
c4b6bdf
Update CHANGELOG.md for v8.4.6 [skip ci]
storybook-bot Nov 29, 2024
f50c6c8
Merge branch 'next' into jeppe/vitest-coverage-backend
JReinhold Nov 29, 2024
04f9ca0
add coverage states to stories
JReinhold Nov 29, 2024
79be746
Merge branch 'jeppe/vitest-coverage-backend' of github.com:storybookj…
JReinhold Nov 29, 2024
d4d566a
sync coverage state on run request
JReinhold Nov 29, 2024
8671ca1
Merge pull request #29713 from storybookjs/jeppe/vitest-coverage-backend
ndelangen Nov 29, 2024
2462631
RNW-Vite: feat add built in flow support
dannyhw Nov 30, 2024
1844245
fix: should transpile all in jsx format
dannyhw Nov 30, 2024
78e0819
Merge pull request #29756 from storybookjs/dannyhw/fix-rnw-flow-support
shilman Nov 30, 2024
742ddd2
Write changelog for 8.5.0-alpha.14 [skip ci]
storybook-bot Nov 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
sync coverage state on run request
  • Loading branch information
JReinhold committed Nov 29, 2024
commit d4d566a58dc01f89a83fce65b34650655bd8926e
3 changes: 3 additions & 0 deletions code/addons/test/src/node/test-manager.ts
Original file line number Diff line number Diff line change
@@ -81,6 +81,9 @@ export class TestManager {
if (payload.providerId !== TEST_PROVIDER_ID) {
return;
}
if (payload.config && this.coverage !== payload.config.coverage) {
this.coverage = payload.config.coverage;
}

const allTestsRun = (payload.storyIds ?? []).length === 0;
if (this.coverage) {