basic snapshot test for tunes

This commit is contained in:
Felix Roos 2022-05-01 22:34:11 +02:00
parent 3eebccd566
commit 6cac8ba108
8 changed files with 9326 additions and 723 deletions

View file

@ -22,7 +22,8 @@
"scripts": {
"start": "react-scripts start",
"build": "BUILD_PATH='../docs' react-scripts build && npm run build-tutorial",
"test": "react-scripts test",
"test": "mocha ./src/test --colors",
"snapshot": "cd ./src/ && rm -f ./tunes.snapshot.mjs && node ./shoot.mjs > ./tunes.snapshot.mjs",
"eject": "react-scripts eject",
"tutorial": "parcel src/tutorial/index.html --no-cache",
"build-tutorial": "rm -rf ../docs/tutorial && parcel build src/tutorial/index.html --dist-dir ../docs/tutorial --public-url /tutorial --no-scope-hoist --no-cache",