Test setup
This commit is contained in:
parent
e9f96f3d03
commit
bafe29086a
3 changed files with 17 additions and 6 deletions
|
|
@ -7,15 +7,22 @@ repos:
|
|||
language: system
|
||||
pass_filenames: false
|
||||
always_run: true
|
||||
- id: test-ui
|
||||
name: Test Frontend
|
||||
entry: just test-frontend
|
||||
language: python
|
||||
pass_filenames: false
|
||||
files: ^ui/.*\.(ts|tsx|js|jsx)$
|
||||
- id: typecheck
|
||||
name: Typecheck Frontend
|
||||
entry: just typecheck
|
||||
language: python
|
||||
pass_filenames: false
|
||||
files: \.ts*
|
||||
- id: test-ui
|
||||
name: Test Frontend
|
||||
entry: just test-frontend
|
||||
language: python
|
||||
pass_filenames: false
|
||||
files: ^ui/.*\.(ts|tsx|js|jsx)$
|
||||
- id: test-api
|
||||
name: Test API
|
||||
entry: just test-api
|
||||
language: python
|
||||
pass_filenames: false
|
||||
files: ^api/.*\.(ts)$
|
||||
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ export const generateICSFromEvents = (
|
|||
});
|
||||
|
||||
icsContent += "\r\n" + "END:VCALENDAR";
|
||||
|
||||
return icsContent;
|
||||
};
|
||||
|
||||
|
|
|
|||
3
justfile
3
justfile
|
|
@ -16,6 +16,9 @@ build-frontend:
|
|||
_api-dev:
|
||||
cd api && npm run dev
|
||||
|
||||
test-api:
|
||||
cd api && npm run test
|
||||
|
||||
dev:
|
||||
just _api-dev & (just _frontend-dev)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue