mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-08 02:24:11 +00:00
Removed deprecated helper function async
This commit is contained in:
@@ -42,25 +42,25 @@ describe('jsonPatchOperationsReducer test suite', () => {
|
||||
const timestampAfterStart = 1545994837492;
|
||||
const startTimestamp = 1545994827492;
|
||||
const testState: JsonPatchOperationsState = {
|
||||
testResourceType: {
|
||||
children: {
|
||||
testResourceId: {
|
||||
body: [
|
||||
{
|
||||
operation: {
|
||||
op: 'add',
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
},
|
||||
transactionStartTime: null,
|
||||
commitPending: false
|
||||
} as JsonPatchOperationsResourceEntry
|
||||
};
|
||||
testResourceType: {
|
||||
children: {
|
||||
testResourceId: {
|
||||
body: [
|
||||
{
|
||||
operation: {
|
||||
op: 'add',
|
||||
path: '/testResourceType/testResourceId/testField',
|
||||
value: ['test']
|
||||
},
|
||||
timeCompleted: timestampBeforeStart
|
||||
},
|
||||
]
|
||||
} as JsonPatchOperationsEntry
|
||||
},
|
||||
transactionStartTime: null,
|
||||
commitPending: false
|
||||
} as JsonPatchOperationsResourceEntry
|
||||
};
|
||||
|
||||
let initState: JsonPatchOperationsState;
|
||||
|
||||
|
Reference in New Issue
Block a user