Improve testing suite

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
This commit is contained in:
Sebastian Martinez
2022-03-24 15:05:15 +01:00
parent 6f2f8c454f
commit 286cb1cd21
44 changed files with 2550 additions and 482 deletions
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
vite build
cp _redirects build/_redirects
+1
View File
@@ -1,3 +1,4 @@
#!/bin/sh
set -e
npx tsc --noEmit && npx svelte-check
+1
View File
@@ -1,4 +1,5 @@
#!/bin/sh
set -e
# Checks local /node_modules,
# if not found will download that package and execute it.
-3
View File
@@ -1,3 +0,0 @@
#!/bin/sh
npm test && npx nyc report
+5
View File
@@ -0,0 +1,5 @@
#!/bin/sh
set -e
npm run test:unit
npm run test:components