From 2bbad4457b64e4a71fa031317f49641ef134fb46 Mon Sep 17 00:00:00 2001 From: Karl Romet Somelar Date: Tue, 28 Jan 2025 22:40:36 +0200 Subject: [PATCH] chore(e2e): bring back /tmp/ dir for tests --- e2e/e2e/static/downloaded-game.json | 1 - e2e/utils/constants.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 e2e/e2e/static/downloaded-game.json diff --git a/e2e/e2e/static/downloaded-game.json b/e2e/e2e/static/downloaded-game.json deleted file mode 100644 index e741c414..00000000 --- a/e2e/e2e/static/downloaded-game.json +++ /dev/null @@ -1 +0,0 @@ -{"settings":{},"rounds":[{"question":"Question 1","answers":[{"ans":"Answer 1","pnt":20}],"multiply":1}],"final_round":[{"question":"Question 1","answers":[["Answer 1",10],["Answer 2",20]]},{"question":"Question 2","answers":[]},{"question":"Question 3","answers":[]},{"question":"Question 4","answers":[]},{"question":"Question 5","answers":[]}],"final_round_timers":[20,25]} \ No newline at end of file diff --git a/e2e/utils/constants.ts b/e2e/utils/constants.ts index deab2994..5bc3dbd6 100644 --- a/e2e/utils/constants.ts +++ b/e2e/utils/constants.ts @@ -3,5 +3,5 @@ import path from "path"; export const PATHS = { GAME_JSON: path.join(process.cwd(), "static/game.json"), GAME_CSV: path.join(process.cwd(), "static/game.csv"), - DOWNLOADED_GAME_JSON: path.join(process.cwd(), "static/downloaded-game.json"), + DOWNLOADED_GAME_JSON: path.join(process.cwd(), "/tmp/downloaded-game.json"), };