From d46cd03dc757c5775fa2540161df785daf4f9d4d Mon Sep 17 00:00:00 2001
From: Ole Langbehn <ole.langbehn@inoio.de>
Date: Sat, 19 Oct 2024 22:33:10 +0200
Subject: [PATCH] add --allow-import also to test command in CI

---
 .gitlab-ci.yml | 2 +-
 deno.json      | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 30c767b..37c4d43 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -55,7 +55,7 @@ cache_lint_test:
     - deno cache --allow-import --lock=deno.lock app/deps.ts app/dev_deps.ts
     - deno fmt --check
     - deno lint
-    - deno test
+    - deno test --allow-import 
 
 # You can override the included template(s) by including variable overrides
 # SAST customization: https://docs.gitlab.com/ee/user/application_security/sast/#customizing-the-sast-settings
diff --git a/deno.json b/deno.json
index 88c6860..e160b1a 100644
--- a/deno.json
+++ b/deno.json
@@ -4,7 +4,7 @@
       "lint": "deno lint",
       "fmt": "deno fmt",
       "fmt:check": "deno fmt --check",
-      "test": "deno test",
+      "test": "deno test --allow-import ",
       "updateDeps": "deno cache --allow-import --lock=deno.lock --lock-write app/deps.ts app/dev_deps.ts",
       "install": "deno cache --allow-import --reload --lock=deno.lock app/deps.ts app/dev_deps.ts",
       "cache": "deno cache --allow-import app/main.ts",
@@ -26,4 +26,4 @@
       "*.md"
     ]
   }
-}
+}
\ No newline at end of file
-- 
GitLab