From adcbf2ef49b2b8eeb4b72cf6218dc0f6d02aff27 Mon Sep 17 00:00:00 2001
From: Boris Kubiak <kubiakboris@gmail.com>
Date: Thu, 22 Feb 2024 11:44:23 +0100
Subject: [PATCH] Fix timezone in tests

---
 .github/workflows/run.yml | 2 ++
 tsconfig.json             | 3 ++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/run.yml b/.github/workflows/run.yml
index 0c95047..6b8de6f 100644
--- a/.github/workflows/run.yml
+++ b/.github/workflows/run.yml
@@ -28,6 +28,8 @@ jobs:
       - run: npm ci
       - run: npm test
       - run: npm run build
+    env:
+      TZ: Europe/Paris
 
   build:
     name: Build Docker images
diff --git a/tsconfig.json b/tsconfig.json
index e7243d9..06f79e4 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -5,5 +5,6 @@
     "module": "NodeNext",
     "resolveJsonModule": true
   },
-  "include": ["./src/**/*"]
+  "include": ["./src/**/*"],
+  "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"]
 }