From 936671a72bb756833e991532f8818948b4e0c31d 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 437d3556..ae3961e5 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 })