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:
@@ -29,10 +29,6 @@ describe('the plugin', function () {
|
||||
let openmct;
|
||||
let displayLayoutDefinition;
|
||||
|
||||
beforeAll(() => {
|
||||
resetApplicationState(openmct);
|
||||
});
|
||||
|
||||
beforeEach((done) => {
|
||||
openmct = createOpenMct();
|
||||
openmct.install(new DisplayLayoutPlugin({
|
||||
@@ -49,7 +45,7 @@ describe('the plugin', function () {
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
resetApplicationState(openmct);
|
||||
return resetApplicationState(openmct);
|
||||
});
|
||||
|
||||
it('defines a display layout object type with the correct key', () => {
|
||||
|
||||
Reference in New Issue
Block a user