Created
October 24, 2018 17:39
-
-
Save lovubuntu/03ab3fda63e3a62a187db9aef745780d to your computer and use it in GitHub Desktop.
Data Setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const oldSelectedList = [ | |
{id: 1, name: 'apple', serverAttribute1: 'some value', serverAttribute2: 'some value'}, | |
{id: 2, name: 'orange', serverAttribute1: 'some value', serverAttribute2: 'some value'} | |
]; | |
const newlySelectedList = [ | |
{id: 3, name: 'grape'}, | |
{id: 2, name: 'orange'} | |
]; | |
//expectedList = [ | |
// {id: 2, name: 'orange', serverAttribute1: 'some value', serverAttribute2: 'some value'}, | |
// {id: 3, name: 'grape'} | |
//]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment