Skip to content
Snippets Groups Projects
Commit e2300d04 authored by Antoine Detailleur's avatar Antoine Detailleur
Browse files

[NRRPLT-7930] repair 2th test (maybe)

parent f34f90c3
......@@ -13,6 +13,7 @@ import ExperimentExecutionService from '../../../../services/experiments/executi
import ServerResourcesService from '../../../../services/experiments/execution/server-resources-service';
import RunningSimulationService from '../../../../services/experiments/execution/running-simulation-service';
import { EXPERIMENT_STATE } from '../../../../services/experiments/experiment-constants.js';
import ErrorHandlerService from '../../../../services/error-handler-service';
//jest.setTimeout(10000);
......@@ -78,7 +79,7 @@ test('should go through the list of available servers when trying to start an ex
MockAvailableServers.forEach(server => {
expect(ServerResourcesService.instance.getServerConfig).toHaveBeenCalledWith(server.id);
});
expect(console.error).toHaveBeenCalled();
expect(ErrorHandlerService.instance.startSimulationError).toHaveBeenCalled();
done();
});
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment