mirror of
https://github.com/nasa/openmct.git
synced 2024-12-30 01:48:51 +00:00
fix broken tests
This commit is contained in:
parent
7ff85dc396
commit
cd6c7fdc5e
@ -30,7 +30,6 @@ export default class NewFolderAction {
|
|||||||
this.cssClass = 'icon-folder';
|
this.cssClass = 'icon-folder';
|
||||||
|
|
||||||
this._openmct = openmct;
|
this._openmct = openmct;
|
||||||
this._folderType = openmct.types.get('folder');
|
|
||||||
this._dialogForm = {
|
this._dialogForm = {
|
||||||
name: "New Folder Name",
|
name: "New Folder Name",
|
||||||
sections: [
|
sections: [
|
||||||
|
@ -30,10 +30,6 @@ describe("the plugin", () => {
|
|||||||
let openmct,
|
let openmct,
|
||||||
newFolderAction;
|
newFolderAction;
|
||||||
|
|
||||||
beforeAll(() => {
|
|
||||||
resetApplicationState();
|
|
||||||
});
|
|
||||||
|
|
||||||
beforeEach((done) => {
|
beforeEach((done) => {
|
||||||
openmct = createOpenMct();
|
openmct = createOpenMct();
|
||||||
|
|
||||||
@ -45,6 +41,10 @@ describe("the plugin", () => {
|
|||||||
})[0];
|
})[0];
|
||||||
});
|
});
|
||||||
|
|
||||||
|
afterEach(() => {
|
||||||
|
resetApplicationState();
|
||||||
|
});
|
||||||
|
|
||||||
it('installs the new folder action', () => {
|
it('installs the new folder action', () => {
|
||||||
expect(newFolderAction).toBeDefined();
|
expect(newFolderAction).toBeDefined();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user