From ab08e2ceb8c484551848b0033a48acdedc6edca9 Mon Sep 17 00:00:00 2001
From: Xiao Gui <xgui3783@gmail.com>
Date: Tue, 24 Aug 2021 14:22:36 +0200
Subject: [PATCH] remove unneeded file/text update frontend test code

---
 .github/workflows/ci.yml  |  4 ++--
 package.json              |  3 ++-
 spec/support/jasmine.json | 11 -----------
 typings/index.d.ts        |  4 ----
 4 files changed, 4 insertions(+), 18 deletions(-)
 delete mode 100644 spec/support/jasmine.json

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 74dcb1c2c..04f5a9d4c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -44,14 +44,14 @@ jobs:
       with:
         node-version: ${{ matrix.node-version }}
     - run: npm i
-    - run: npm run test
+    - run: npm run test-ci
 
   backend:
     if: always()
     runs-on: ubuntu-latest
     strategy:
       matrix:
-        node-version: [10.x, 12.x, 14.x]
+        node-version: [12.x, 14.x, 16.x]
 
     env:
       NODE_ENV: test
diff --git a/package.json b/package.json
index 9576c0547..8a5b68717 100644
--- a/package.json
+++ b/package.json
@@ -13,7 +13,8 @@
     "start": "ng serve",
     "build": "ng build",
     "watch": "ng build --watch --configuration development",
-    "test": "ng test"
+    "test": "ng test",
+    "test-ci": "ng test --progress false --watch false --browsers=ChromeHeadless"
   },
   "keywords": [],
   "author": "FZJ-INM1-BDA <inm1-bda@fz-juelich.de>",
diff --git a/spec/support/jasmine.json b/spec/support/jasmine.json
deleted file mode 100644
index 370fc4464..000000000
--- a/spec/support/jasmine.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
-  "spec_dir": "spec",
-  "spec_files": [
-    "**/*[sS]pec.js"
-  ],
-  "helpers": [
-    "helpers/**/*.js"
-  ],
-  "stopSpecOnExpectationFailure": false,
-  "random": true
-}
diff --git a/typings/index.d.ts b/typings/index.d.ts
index 9ce1e1033..36d5446d8 100644
--- a/typings/index.d.ts
+++ b/typings/index.d.ts
@@ -10,7 +10,3 @@ declare module '*.css' {
 
 declare module '*.md'
 
-// declare module '!!raw-loader!*' {
-//   const contents: string;
-//   export = contents;
-// }
-- 
GitLab