|
@@ -111,6 +111,7 @@ describe('CRUD reducer', () => {
|
|
|
const result = crud(state, action);
|
|
const result = crud(state, action);
|
|
|
|
|
|
|
|
expect(result[route].items).to.have.length(0);
|
|
expect(result[route].items).to.have.length(0);
|
|
|
|
|
+ expect(result[route]).to.have.property('loading', false);
|
|
|
expect(result[route]).to.have.property('error', true);
|
|
expect(result[route]).to.have.property('error', true);
|
|
|
});
|
|
});
|
|
|
});
|
|
});
|