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

fix tests not actually running #2450

Merged
merged 3 commits into from
Dec 9, 2017
Merged

fix tests not actually running #2450

merged 3 commits into from
Dec 9, 2017

Conversation

jrmurad
Copy link
Contributor

@jrmurad jrmurad commented Dec 8, 2017

Issue: I broke multiSnapshotWithOptions testing (including of storybook itself) with my PR #2417

What I did

The tests weren't actually running because of the refactor to call through to snapshotWithOptions. Once I fixed that, I found that the unmount call I added wasn't always available. So I put a guard on that. Maybe someone who understands how that should be unmounted better can take a look.

Because tests haven't been passing incorrectly, some bugs may have slipped into the branch. I fixed a few easy-update snapshots but there remain two failures which I'm still looking into.

@codecov
Copy link

codecov bot commented Dec 8, 2017

Codecov Report

Merging #2450 into release/3.3 will increase coverage by 0.02%.
The diff coverage is 100%.

Impacted file tree graph

@@               Coverage Diff               @@
##           release/3.3    #2450      +/-   ##
===============================================
+ Coverage        19.15%   19.18%   +0.02%     
===============================================
  Files              355      355              
  Lines             8252     8253       +1     
  Branches           912      913       +1     
===============================================
+ Hits              1581     1583       +2     
+ Misses            5958     5949       -9     
- Partials           713      721       +8
Impacted Files Coverage Δ
addons/info/src/components/PropTable.js 29.78% <ø> (ø) ⬆️
addons/storyshots/src/test-bodies.js 70% <100%> (+6.84%) ⬆️
app/react/src/demo/Welcome.js 0% <0%> (ø) ⬆️
app/react/src/demo/Button.js 0% <0%> (ø) ⬆️
addons/links/src/react/components/link.js 16.66% <0%> (ø) ⬆️
lib/components/src/table/table.js 0% <0%> (ø) ⬆️
lib/ui/src/modules/ui/containers/shortcuts_help.js 25% <0%> (ø) ⬆️
addons/graphql/src/components/FullScreen/index.js 0% <0%> (ø) ⬆️
addons/a11y/src/components/Report/Elements.js 0% <0%> (ø) ⬆️
addons/info/src/components/types/PropertyLabel.js 21.05% <0%> (ø) ⬆️
... and 35 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f83553...e4ec032. Read the comment docs.

@Hypnosphi Hypnosphi merged commit 061e5de into storybookjs:release/3.3 Dec 9, 2017
@Hypnosphi Hypnosphi added the maintenance User-facing maintenance tasks label Dec 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants