This commit is contained in:
BinarySandia04 2024-10-09 14:38:39 +02:00
parent 9a714815f3
commit d7376aadad
10 changed files with 6213 additions and 918 deletions

View File

@ -1,8 +1,8 @@
name: frontendTesting
run-name: Testing frontend
name: ci
run-name: CI Test
on: [push]
jobs:
run-defined-frontend-tests:
run-tests:
runs-on: ubuntu-latest
defaults:
run:
@ -12,5 +12,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '14'
- run: npm ci
- run: npm test:unit
- name: "Install dependencies"
run: ./install.sh
- name: "Test client"
working-directory: ./client
run: npm test:unit

3
.gitignore vendored
View File

@ -1,5 +1,6 @@
.DS_Store
server/node_modules/
backend/node_modules/
client/node_modules/
node_modules/
server/uploads/

6234
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -38,6 +38,14 @@
"eslint": "^8.49.0",
"eslint-plugin-vue": "^9.17.0",
"sass": "^1.69.5",
"vite": "^4.4.9"
"vite": "^4.4.9",
"@babel/preset-env": "^7.25.7",
"@vue/test-utils": "^2.4.6",
"@vue/vue3-jest": "^29.2.6",
"babel-jest": "^29.7.0",
"clean-jsdoc-theme": "^4.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.3"
}
}

8
install.sh Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
npm ci
cd client
npm ci
cd ..
cd backend
npm ci
cd ..

860
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -21,7 +21,6 @@
"clean-jsdoc-theme": "^4.3.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jsdoc": "^4.0.3",
"vue-jest": "^3.0.7"
"jsdoc": "^4.0.3"
}
}