mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +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._openmct = openmct;
|
||||
this._folderType = openmct.types.get('folder');
|
||||
this._dialogForm = {
|
||||
name: "New Folder Name",
|
||||
sections: [
|
||||
|
@ -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();
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user