test: rename test -> tests
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 30 Sep 2023 11:39:24 +0000 (13:39 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 30 Sep 2023 11:39:24 +0000 (13:39 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.cfignore
.lintstagedrc.json
package.json
sonar-project.properties
tests/utils/CircularArray.test.ts [moved from test/utils/CircularArray.test.ts with 100% similarity]
tests/utils/StatisticUtils.test.ts [moved from test/utils/StatisticUtils.test.ts with 100% similarity]
tests/utils/Utils.test.ts [moved from test/utils/Utils.test.ts with 100% similarity]

index 64b72cdf714b7e78e90ad0c4e3a7a406668ff32d..16d6b9517bfce7e0eaa57233fd259ad9475a96ed 100644 (file)
--- a/.cfignore
+++ b/.cfignore
@@ -61,7 +61,7 @@ mta.yaml
 mta_archives
 docker
 src
-test
+tests
 ui
 temp
 outputs
index fcaf236dbb2d9fc22e9e29d01caa0be22edd3b14..45cd847789d8d19b4adda2f3bd9f95fa369cb4ad 100644 (file)
@@ -1,5 +1,5 @@
 {
-  "{src,test}/**/*.{ts,tsx,cts,mts}": ["prettier --cache --write", "eslint --cache --fix"],
+  "{src,tests}/**/*.{ts,tsx,cts,mts}": ["prettier --cache --write", "eslint --cache --fix"],
   "**/*.{json,md,yml,yaml}": ["prettier --cache --write"],
   "**/*.{js,jsx,cjs,mjs}": ["prettier --cache --write", "eslint --cache --fix"]
 }
index d12d0fa634cdffa3cf4a38f3c07e7e0081f3366b..7d5cd7d1ef9c9040a3b84f215c5fce5fa5b5cfe0 100644 (file)
@@ -75,8 +75,8 @@
     "lint": "cross-env TIMING=1 eslint --cache src",
     "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
     "format": "prettier --cache --write .",
-    "test": "glob -c \"c8 node --loader tsx --no-warnings=ExperimentalWarning --test\" \"test/**/*.test.ts\"",
-    "test:debug": "glob -c \"node --loader tsx --no-warnings=ExperimentalWarning --test --inspect\" \"test/**/*.test.ts\"",
+    "test": "glob -c \"c8 node --loader tsx --no-warnings=ExperimentalWarning --test\" \"tests/**/*.test.ts\"",
+    "test:debug": "glob -c \"node --loader tsx --no-warnings=ExperimentalWarning --test --inspect\" \"tests/**/*.test.ts\"",
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
     "clinic:clean": "clinic clean",
index b27eac3b8b9e20ba43bf7ae0f23f9c360f4a4eb5..023b0ba5b52bd86d1a9eb136fcdf3d3d6a0e279e 100644 (file)
@@ -7,7 +7,7 @@ sonar.projectVersion=1.2.22
 
 # Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
 sonar.sources=src
-sonar.tests=test
+sonar.tests=tests
 
 sonar.javascript.lcov.reportPaths=coverage/lcov.info