fix broken tests

This commit is contained in:
Deep Tailor 2020-06-23 15:54:10 -07:00
parent 7ff85dc396
commit cd6c7fdc5e
2 changed files with 4 additions and 5 deletions

View File

@ -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: [

View File

@ -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();
});