mirror of
https://github.com/nasa/openmct.git
synced 2025-06-20 16:10:23 +00:00
Router test fix (#3973)
* removed DEPRECATION warnings * test fixes * added spec reporter to debug failing tests and fixed couple specs * disabled failFast to see all failing tests * disabled fail test and change timeoutInterval to 5000 * removed unused debounce import Co-authored-by: Andrew Henry <akhenry@gmail.com>
This commit is contained in:
@ -50,8 +50,6 @@ define(
|
||||
* or finish() are called.
|
||||
*/
|
||||
EditorCapability.prototype.edit = function () {
|
||||
console.warn('DEPRECATED: cannot edit via edit capability, use openmct.editor instead.');
|
||||
|
||||
if (!this.openmct.editor.isEditing()) {
|
||||
this.openmct.editor.edit();
|
||||
this.domainObject.getCapability('status').set('editing', true);
|
||||
@ -82,8 +80,6 @@ define(
|
||||
* @returns {*}
|
||||
*/
|
||||
EditorCapability.prototype.save = function () {
|
||||
console.warn('DEPRECATED: cannot save via edit capability, use openmct.editor instead.');
|
||||
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
@ -95,8 +91,6 @@ define(
|
||||
* @returns {*}
|
||||
*/
|
||||
EditorCapability.prototype.finish = function () {
|
||||
console.warn('DEPRECATED: cannot finish via edit capability, use openmct.editor instead.');
|
||||
|
||||
return Promise.resolve();
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user