use vitest snapshot feature for tunes

This commit is contained in:
Felix Roos 2022-08-10 00:17:58 +02:00
parent c1255bfa88
commit f955d77d71
4 changed files with 20682 additions and 58 deletions

View file

@ -8,7 +8,7 @@
"build": "vite build",
"preview": "vite preview",
"test": "vitest run --reporter verbose -v --no-isolate",
"snapshot": "cd ./src/ && rm -f ./tunes.snapshot.mjs && node ./shoot.mjs > ./tunes.snapshot.mjs",
"snapshot": "vitest run -u --silent",
"add-license": "cat etc/agpl-header.txt ../docs/static/js/*LICENSE.txt > /tmp/strudel-license.txt && cp /tmp/strudel-license.txt ../docs/static/js/*LICENSE.txt",
"predeploy": "npm run build",
"deploy": "gh-pages -d ../docs",