mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Added tests
This commit is contained in:
@@ -315,8 +315,6 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
const action = new FlushPatchOperationsAction(testJsonPatchResourceType, undefined);
|
||||
const newState = jsonPatchOperationsReducer(initState, action);
|
||||
|
||||
console.log(initState);
|
||||
console.log(newState);
|
||||
expect(newState[testJsonPatchResourceType].transactionStartTime).toBeNull();
|
||||
expect(newState[testJsonPatchResourceType].commitPending).toBeFalsy();
|
||||
expect(newState[testJsonPatchResourceType].children[testJsonPatchResourceId].body).toEqual([]);
|
||||
|
Reference in New Issue
Block a user