Fixes to enable testing again (#3275)

* Updated library versions
* Use Karma alternative spec loading
* Fixed memory leak in URLTimeSettingsSynchronizer
* Introduce mock DataTransfer object to fix issue with firefox headless
* make resetApplicationState return a promise
* Remove BeforeAll
* Do not throw an error if root returns no children
* Adding missing parameters to ES tests
* Fixed TransactionService bug
* bump test coverage up to 64%
This commit is contained in:
Andrew Henry
2020-08-10 09:47:04 -07:00
committed by GitHub
parent e32f465f7a
commit 7e7141a5a0
23 changed files with 125 additions and 82 deletions

View File

@@ -35,10 +35,6 @@ describe('the plugin', () => {
parentElement,
mockMessages = ['error', 'test', 'notifications'];
beforeAll(() => {
resetApplicationState();
});
beforeEach((done) => {
openmct = createOpenMct();
@@ -61,7 +57,7 @@ describe('the plugin', () => {
});
afterEach(() => {
resetApplicationState(openmct);
return resetApplicationState(openmct);
});
describe('the indicator plugin element', () => {