Skip to content

Commit

Permalink
Update test & snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
helenm authored and whomwah committed Jul 30, 2020
1 parent 4bfb813 commit 936671a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,8 @@ exports[`CurrentTrack render album renders track 1`] = `
</Provider>
`;

exports[`CurrentTrack render album renders track 2`] = `"Chicken Song"`;

exports[`CurrentTrack when missing data renders defaults 1`] = `
<div
className="c-nowPlaying"
Expand Down
1 change: 1 addition & 0 deletions frontend/src/components/current-track/index.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ describe('CurrentTrack', () => {
)

expect(wrapper).toMatchSnapshot()
expect(wrapper.find('.c-nowPlaying__image').prop('alt')).toMatchSnapshot()
const handler = wrapper.find('.rc-slider-handle').at(1)
wrapper.simulate('focus')
handler.simulate('keyDown', { keyCode: keyCode.UP })
Expand Down

0 comments on commit 936671a

Please sign in to comment.