From ec8594c1938bf317161e31a0420776bf1b2af32b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Wed, 24 Apr 2024 16:23:31 +0000 Subject: [PATCH] fix tests --- quality/inspections.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quality/inspections.md b/quality/inspections.md index a1cf5a0..e861c75 100755 --- a/quality/inspections.md +++ b/quality/inspections.md @@ -13,7 +13,7 @@ The following automated tests must pass without errors, failures and warnings fo * `php ./vendor/bin/phpunit -c tests/phpunit_no_coverage.xml` * `php ./vendor/bin/rector process --config Build/Config/rector.php --dry-run ./` * `npx eslint ./ -c Build/Config/.eslintrc.json` -* `npx jasmine-node ./` +* `./Build/Config/jasmine_build.sh && npx jasmine --config=Build/Config/jasmine.json` * `./cOMS/tests/test.sh`

@@ -224,7 +224,7 @@ php vendor/bin/rector process --dry-run --config Build/Config/rector.php ./ The javascript testing is done with jasmine. The javascript testing directory is structured the same way as the `Framework`. Unit tests for specific classes need to be named in the same manner as the testing class. ```sh -npx jasmine-node ./ +./Build/Config/jasmine_build.sh && npx jasmine --config=Build/Config/jasmine.json ``` Alternatively you can open `http://127.0.0.1/jsOMS/tests/SpecRunner.html` to run the tests in your browser.