From 3d67a8e5dad52a4e74b1be5fe7f22264e7c814b9 Mon Sep 17 00:00:00 2001 From: iyanfdezz Date: Fri, 26 Apr 2024 16:56:01 +0200 Subject: [PATCH] Prueba --- webapp/e2e/steps/play-calculator.steps.js | 30 ----------------------- 1 file changed, 30 deletions(-) diff --git a/webapp/e2e/steps/play-calculator.steps.js b/webapp/e2e/steps/play-calculator.steps.js index fb571e0d..e175ae33 100644 --- a/webapp/e2e/steps/play-calculator.steps.js +++ b/webapp/e2e/steps/play-calculator.steps.js @@ -31,36 +31,6 @@ defineFeature(feature, (test) => { "Access-Control-Allow-Headers": "*", }, }); - } else if (req.url().includes("/questions")) { - req.respond({ - status: 200, - headers: { - "Access-Control-Allow-Origin": "*", - }, - contentType: "application/json", - body: JSON.stringify([ - { - pregunta: "Test question", - respuestas: [ - "Test answer 1", - "Test answer 2", - "Test answer 3", - "Test correct answer", - ], - correcta: "Test correct answer", - }, - { - pregunta: "Test question 2", - respuestas: [ - "Test answer 1", - "Test answer 2", - "Test answer 3", - "Test correct answer", - ], - correcta: "Test correct answer", - }, - ]), - }); } else { req.continue(); }