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

feat: throw error on unconfigured coverage when running with --coverage #166

Merged
merged 1 commit into from
Aug 22, 2022

Conversation

yannbf
Copy link
Member

@yannbf yannbf commented Aug 18, 2022

Release notes

Features

The test runner now throws an error when running yarn test-storybook --coverage and the coverage is not correctly set up. This could mean that an user might be running --coverage without instrumenting their code with istanbul, which would lead to problems!

Version

Published prerelease version: v0.6.0-next.2

Changelog

Release Notes

feat: throw error on unconfigured coverage when running with --coverage (#166)

Features

The test runner now throws an error when running yarn test-storybook --coverage and the coverage is not correctly set up. This could mean that an user might be running --coverage without instrumenting their code with istanbul, which would lead to problems!

feat: add console logs on test failure (#157)

Features

feat: add console logs on test failure
This version adds console logs to the output of failed tests, in order to as provide as much information as possible to help you diagnose your issues.

feat: jest 28 support (#154)

Features

This release updates jest-playwright to version 2.0.0 which adds support for Jest 28. In order to maintain backwards compatibility with Jest 27, you might have to take a few steps in case you are installing the test runner for the first time, or if you don't keep package locks in your project.

You can find more info at https://github.com/storybookjs/test-runner#jest-27-support


🚀 Enhancement

🐛 Bug Fix

  • feat: throw error on unconfigured coverage when running with --coverage #166 (@yannbf)
  • Document new cli options #167 (@yannbf)
  • Add nightly check for failures #165 (@yannbf)
  • Update stories in example Storybook #164 (@yannbf)
  • use storybook@future on nightly script #162 (@yannbf)

Authors: 2

@yannbf yannbf added the patch Increment the patch version when merged label Aug 18, 2022
@yannbf
Copy link
Member Author

yannbf commented Aug 22, 2022

self merging @shilman

@yannbf yannbf merged commit 1531285 into next Aug 22, 2022
This was referenced Aug 22, 2022
@yannbf yannbf mentioned this pull request Aug 23, 2022
@github-actions
Copy link

🚀 PR was released in v0.6.0 🚀

@yannbf yannbf deleted the yann/sb-663-test-runner-fail-if-__coverage__-does branch November 18, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch Increment the patch version when merged released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant