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

[NRRPLT-7930] repair 1 test

parent 943d658b
No related branches found
No related tags found
No related merge requests found
...@@ -166,7 +166,7 @@ test('can retrieve the state of a simulation', async () => { ...@@ -166,7 +166,7 @@ test('can retrieve the state of a simulation', async () => {
test('can set the state of a simulation', async () => { test('can set the state of a simulation', async () => {
let returnValuePUT = undefined; let returnValuePUT = undefined;
jest.spyOn(ErrorHandlerService.instance, 'updateSimuationError').mockImplementation(); jest.spyOn(ErrorHandlerService.instance, 'updateSimulationError').mockImplementation();
jest.spyOn(RunningSimulationService.instance, 'httpRequestPUT').mockImplementation(() => { jest.spyOn(RunningSimulationService.instance, 'httpRequestPUT').mockImplementation(() => {
if (RunningSimulationService.instance.httpRequestGET.mock.calls.length === 1) { if (RunningSimulationService.instance.httpRequestGET.mock.calls.length === 1) {
returnValuePUT = {}; returnValuePUT = {};
......
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