diff --git a/src/plugins/newFolderAction/newFolderAction.js b/src/plugins/newFolderAction/newFolderAction.js index 98ac889e8f..c93359915d 100644 --- a/src/plugins/newFolderAction/newFolderAction.js +++ b/src/plugins/newFolderAction/newFolderAction.js @@ -30,7 +30,6 @@ export default class NewFolderAction { this.cssClass = 'icon-folder'; this._openmct = openmct; - this._folderType = openmct.types.get('folder'); this._dialogForm = { name: "New Folder Name", sections: [ diff --git a/src/plugins/newFolderAction/pluginSpec.js b/src/plugins/newFolderAction/pluginSpec.js index 7b8ae08d3a..71c089018a 100644 --- a/src/plugins/newFolderAction/pluginSpec.js +++ b/src/plugins/newFolderAction/pluginSpec.js @@ -30,10 +30,6 @@ describe("the plugin", () => { let openmct, newFolderAction; - beforeAll(() => { - resetApplicationState(); - }); - beforeEach((done) => { openmct = createOpenMct(); @@ -45,6 +41,10 @@ describe("the plugin", () => { })[0]; }); + afterEach(() => { + resetApplicationState(); + }); + it('installs the new folder action', () => { expect(newFolderAction).toBeDefined(); });