Compare commits

...

1 Commits

Author SHA1 Message Date
2f865e952d add test 2021-06-07 08:49:13 -07:00

View File

@ -25,7 +25,7 @@ import TabsLayout from './plugin';
import Vue from "vue"; import Vue from "vue";
import EventEmitter from "EventEmitter"; import EventEmitter from "EventEmitter";
describe('the plugin', function () { fdescribe('the plugin', function () {
let element; let element;
let child; let child;
let openmct; let openmct;
@ -175,5 +175,9 @@ describe('the plugin', function () {
let tabEls = element.querySelectorAll('.js-tab'); let tabEls = element.querySelectorAll('.js-tab');
expect(tabEls.length).toEqual(2); expect(tabEls.length).toEqual(2);
}); });
it ('closes tabs', () => {
// click on close button and verify tabEls length
});
}); });
}); });