From a64c3e4f723ed2a2787467cff99b2361e6ad61fd Mon Sep 17 00:00:00 2001 From: helenm Date: Thu, 12 Mar 2020 10:46:04 +0000 Subject: [PATCH] Update test & snapshot --- .../components/current-track/__snapshots__/index.spec.js.snap | 2 ++ frontend/src/components/current-track/index.spec.js | 1 + 2 files changed, 3 insertions(+) diff --git a/frontend/src/components/current-track/__snapshots__/index.spec.js.snap b/frontend/src/components/current-track/__snapshots__/index.spec.js.snap index 7ba4e2fa..48b1e8ab 100644 --- a/frontend/src/components/current-track/__snapshots__/index.spec.js.snap +++ b/frontend/src/components/current-track/__snapshots__/index.spec.js.snap @@ -1722,6 +1722,8 @@ exports[`CurrentTrack render album renders track 1`] = ` `; +exports[`CurrentTrack render album renders track 2`] = `"Chicken Song"`; + exports[`CurrentTrack when missing data renders defaults 1`] = `
{ ) 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 })