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:
@@ -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', () => {
|
||||
|
||||
Reference in New Issue
Block a user