Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Commit

Permalink
Update ClayList tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlos Lancha authored and jbalsas committed Dec 29, 2017
1 parent 8f39a02 commit 4220233
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
26 changes: 13 additions & 13 deletions packages/clay-list/src/__tests__/ClayList.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,63 +49,63 @@ const sagaItems = [
downloadHref: '#',
rating: 10,
releaseDate: 'May 19th 1999',
status: 'Error',
status: ['Error', 'Pending'],
title: 'Episode I: The Phantom Menace',
},
{
director: 'George Lucas',
downloadHref: '#',
rating: 50,
releaseDate: 'May 12th 2002',
status: 'Watched',
status: ['Watched'],
title: 'Episode II: Attack of the Clones',
},
{
director: 'George Lucas',
downloadHref: '#',
rating: 60,
releaseDate: 'May 12th 2005',
status: 'Watched',
status: ['Watched'],
title: 'Episode III: Revenge of the Sith',
},
{
director: 'George Lucas',
downloadHref: '#',
rating: 90,
releaseDate: 'May 25th 1977',
status: 'Watched',
status: ['Watched'],
title: 'Episode IV: A New Hope',
},
{
director: 'Irvin Kershner',
downloadHref: '#',
rating: 100,
releaseDate: 'May 21th 1980',
status: 'Watched',
status: ['Watched'],
title: 'Episode V: The Empire Strikes Back',
},
{
director: 'Richard Marquand',
downloadHref: '#',
rating: 90,
releaseDate: 'May 25th 1983',
status: 'Watched',
status: ['Watched'],
title: 'Episode VI: Return of the Jedi',
},
{
director: 'J. J. Abrams',
downloadHref: '#',
rating: 70,
releaseDate: 'December 14th 2015',
status: 'Watched',
status: ['Watched'],
title: 'Episode VII: The Force Awakens',
},
{
director: 'Rian Johnson',
downloadHref: '#',
rating: 0,
releaseDate: 'December 9th 2017',
status: 'Pending',
status: ['Pending'],
title: 'Episode VIII: The Last Jedi',
},
];
Expand All @@ -116,15 +116,15 @@ const expandedItems = [
downloadHref: '#',
rating: 70,
releaseDate: 'December 10th 2016',
status: 'Watched',
status: ['Watched'],
title: 'Rogue One: A Star Wars Story',
},
{
director: 'Ron Howard',
downloadHref: '#',
rating: 0,
releaseDate: 'May 25th 2018',
status: 'Pending',
status: ['Pending'],
title: 'Solo: A Star Wars Story',
},
];
Expand Down Expand Up @@ -375,7 +375,7 @@ describe('ClayList', function() {
fieldsMap: {
description: 'director',
href: 'downloadHref',
label: 'status',
labels: 'status',
title: 'title',
},
labelStylesMap: {
Expand Down Expand Up @@ -428,7 +428,7 @@ describe('ClayList', function() {
fieldsMap: {
description: 'director',
href: 'downloadHref',
label: 'status',
labels: 'status',
title: 'title',
},
labelStylesMap: {
Expand Down Expand Up @@ -481,7 +481,7 @@ describe('ClayList', function() {
fieldsMap: {
description: 'director',
href: 'downloadHref',
label: 'status',
labels: 'status',
title: 'title',
},
labelStylesMap: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ exports[`ClayList should render a selectable ClayList with action menu 1`] = `
<p class="list-group-subtitle text-truncate">George Lucas</p>
<div class="list-group-detail">
<span class="label label-danger">Error</span>
<span class="label label-warning">Pending</span>
</div>
</div>
<div class="flex-col">
Expand Down Expand Up @@ -1231,6 +1232,7 @@ exports[`ClayList should render a selectable ClayList with label 1`] = `
<p class="list-group-subtitle text-truncate">George Lucas</p>
<div class="list-group-detail">
<span class="label label-danger">Error</span>
<span class="label label-warning">Pending</span>
</div>
</div>
</li>
Expand Down Expand Up @@ -1449,6 +1451,7 @@ exports[`ClayList should render a selectable ClayList with quick action menu 1`]
<p class="list-group-subtitle text-truncate">George Lucas</p>
<div class="list-group-detail">
<span class="label label-danger">Error</span>
<span class="label label-warning">Pending</span>
</div>
</div>
<div class="flex-col">
Expand Down

0 comments on commit 4220233

Please sign in to comment.