From 76bddbd05f4e2574ad404a9a3bce032c56f53d93 Mon Sep 17 00:00:00 2001 From: Gagandeep Bhatia Date: Thu, 10 Oct 2024 18:04:14 +0200 Subject: [PATCH 1/2] Updates jest config With this change, jest junit files will by default be written to /tmp . This behvaiour can be overridden by: `JEST_JUNIT_OUTPUT_DIR=$DESIRED_DIRECTORY npm test` --- assets/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/assets/jest.config.js b/assets/jest.config.js index 32408f1fee..09ef15f93d 100644 --- a/assets/jest.config.js +++ b/assets/jest.config.js @@ -133,6 +133,7 @@ module.exports = { classNameTemplate: '{classname}', titleTemplate: '{title}', // outputname includeConsoleOutput: true, + outputDirectory: "/tmp" }, ], ], From 43b4656b317987808b980f6a79fbd0441f63e22b Mon Sep 17 00:00:00 2001 From: Gagandeep Bhatia Date: Mon, 14 Oct 2024 15:05:10 +0200 Subject: [PATCH 2/2] Formatting --- assets/jest.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/jest.config.js b/assets/jest.config.js index 09ef15f93d..108cf94eb6 100644 --- a/assets/jest.config.js +++ b/assets/jest.config.js @@ -133,7 +133,7 @@ module.exports = { classNameTemplate: '{classname}', titleTemplate: '{title}', // outputname includeConsoleOutput: true, - outputDirectory: "/tmp" + outputDirectory: '/tmp', }, ], ],