From f34f90c3de0f5592288e237c213fdf6d4ca8a2ae Mon Sep 17 00:00:00 2001 From: Antoine Detailleur <detailleur@fortiss.org> Date: Mon, 3 May 2021 13:48:11 +0200 Subject: [PATCH] [NRRPLT-7930] repair 1 test --- .../execution/__tests__/running-simulation-service.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/experiments/execution/__tests__/running-simulation-service.test.js b/src/services/experiments/execution/__tests__/running-simulation-service.test.js index 9492c9f..7af3b6e 100644 --- a/src/services/experiments/execution/__tests__/running-simulation-service.test.js +++ b/src/services/experiments/execution/__tests__/running-simulation-service.test.js @@ -166,7 +166,7 @@ test('can retrieve the state of a simulation', async () => { test('can set the state of a simulation', async () => { let returnValuePUT = undefined; - jest.spyOn(ErrorHandlerService.instance, 'updateSimuationError').mockImplementation(); + jest.spyOn(ErrorHandlerService.instance, 'updateSimulationError').mockImplementation(); jest.spyOn(RunningSimulationService.instance, 'httpRequestPUT').mockImplementation(() => { if (RunningSimulationService.instance.httpRequestGET.mock.calls.length === 1) { returnValuePUT = {}; -- GitLab