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

View File

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