mirror of
https://github.com/nasa/openmct.git
synced 2025-06-14 21:28:12 +00:00
* Implement transactions in Object API and retire legacy transactions #4089 * Added `objectAPI.refresh` Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -44,6 +44,7 @@ const notebookDomainObject = {
|
||||
namespace: ''
|
||||
},
|
||||
type: 'notebook',
|
||||
name: 'Test Notebook',
|
||||
configuration: {
|
||||
defaultSort: 'oldest',
|
||||
entries: notebookEntries,
|
||||
@ -118,6 +119,12 @@ describe('Notebook Entries:', () => {
|
||||
'create',
|
||||
'update'
|
||||
]));
|
||||
openmct.editor = {
|
||||
isEditing: () => false
|
||||
};
|
||||
openmct.objects.isPersistable = () => true;
|
||||
openmct.objects.save = () => Promise.resolve(true);
|
||||
|
||||
window.localStorage.setItem('notebook-storage', null);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user