build(frontend): add dummy target for test-frontend

This commit is contained in:
Sarah Vaupel 2025-01-22 12:02:36 +01:00
parent 453c283438
commit 14b8406937
2 changed files with 5 additions and 1 deletions

View File

@ -314,6 +314,8 @@ static: node_modules assets esbuild.config.mjs frontend/src/env.sass
well-known: static;
--lint-frontend: --compile-frontend
npm run lint
--test-frontend: --compile-frontend
npm run test
# HELP(compile-uniworxdb): clear and fill database. requires running postgres instance (use "make start-postgres" to start one)
# TODO (db-m-$MIGRATION-backend): apply migration (see src/Model/Migration/Definition.hs for list of available migrations)

View File

@ -54,6 +54,7 @@
"karma-browserify": "^8.1.0",
"karma-chrome-launcher": "^3.2.0",
"karma-cli": "^2.0.0",
"karma-esbuild": "^2.3.0",
"karma-jasmine": "^5.1.0",
"karma-jasmine-html-reporter": "^2.1.0",
"karma-mocha-reporter": "^2.2.5",
@ -91,6 +92,7 @@
"build": "node esbuild.config.mjs",
"start": "node esbuild.config.mjs --watch",
"lint": "eslint --config eslint.config.mjs --color frontend/src",
"lintfix": "eslint --config eslint.config.mjs --color --fix frontend/src"
"lintfix": "eslint --config eslint.config.mjs --color --fix frontend/src",
"test": "echo \"karma-testsuite currently disabled, reporting success\""
}
}