Skip to content
Snippets Groups Projects
Verified Commit 5116e233 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: tests

parent 1b0af0a4
Branches
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ sed -i 's|$|";|' ${TEST_PATH}web/import.js
sed -i "1 i import \"./prepare.js\";" ${TEST_PATH}web/import.js
sed -i "1 i /** this file was created automatically by the make target test-browser-monster */" ${TEST_PATH}web/import.js
npx esbuild --platform=browser --sourcemap=inline --external:jsdom --external:process --external:crypto --bundle ${TEST_PATH}web/import.js --outfile=${TEST_PATH}web/tests.js
npx esbuild --platform=browser --sourcemap=inline --external:ws --external:jsdom --external:process --external:crypto --bundle ${TEST_PATH}web/import.js --outfile=${TEST_PATH}web/tests.js
sed -i -E "/<h1/s_.*_ <h1 style='margin-bottom: 0.1em;'>Monster ${VERSION}</h1>_" ${TEST_PATH}web/test.html
sed -i -E "/id=\"lastupdate\"/s_.*_ <div id=\"lastupdate\" style='font-size:0.7em'>last update $(date)</div>_" ${TEST_PATH}web/test.html
......
......@@ -78,4 +78,5 @@ import "../cases/data/diff.mjs";
import "../cases/data/datasource/restapi.mjs";
import "../cases/data/datasource/storage/sessionstorage.mjs";
import "../cases/data/datasource/storage/localstorage.mjs";
import "../cases/data/datasource/webservice.mjs";
import "../cases/math/random.mjs";
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment