Closed kwhitaker closed 9 years ago
Found the fix - I had forgotten to specify a domain in my test state:
const defaultState = Immutable.fromJS({
characters: [
{
id: 1,
name: 'Test Character'
}
]
});
:+1:
I'm trying to write a reducer, but my tests keep failing.
Here's the reducer:
And my test:
That test fails with the following message:
I'm sure I'm just missing something obvious. Can you give me some idea of how to structure my reducer so this functions as expected?
Thanks