High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore(server): type checks for e2e (#7800)
Daniel Dietzler60c521101a0d
diff --git a/.github/workflows/test.yml b/.github/workflows/test.ymlindex 9adcfe7373..d704aa6295 100644--- a/.github/workflows/test.yml+++ b/.github/workflows/test.yml@@ -196,6 +196,10 @@ jobs:run: npm run formatif: ${{ !cancelled() }}+ - name: Run tsc+ run: npm run check+ if: ${{ !cancelled() }}+- name: Install Playwright Browsersrun: npx playwright install --with-deps chromiumif: ${{ !cancelled() }}diff --git a/e2e/package.json b/e2e/package.jsonindex 1e66fd579c..42862d67fb 100644--- a/e2e/package.json+++ b/e2e/package.json@@ -12,7 +12,8 @@"format": "prettier --check .","format:fix": "prettier --write .","lint": "eslint \"src/**/*.ts\" --max-warnings 0",- "lint:fix": "npm run lint -- --fix"+ "lint:fix": "npm run lint -- --fix",+ "check": "tsc --noEmit"},"keywords": [],"author": "",diff --git a/e2e/src/api/specs/album.e2e-spec.ts b/e2e/src/api/specs/album.e2e-spec.tsindex 4faa5eac3d..2310b4718c 100644--- a/e2e/src/api/specs/album.e2e-spec.ts+++ b/e2e/src/api/specs/album.e2e-spec.ts@@ -92,7 +92,7 @@ describe('/album', () => {}),]);- await deleteUser({ id: user3.userId }, { headers: asBearerAuth(admin.accessToken) });+ await deleteUser({ id: user3.userId, deleteUserDto: {} }, { headers: asBearerAuth(admin.accessToken) });});describe('GET /album', () => {diff --git a/e2e/src/api/specs/shared-link.e2e-spec.ts b/e2e/src/api/specs/shared-link.e2e-spec.tsindex 8b854eda00..3c3fd79269 100644--- a/e2e/src/api/specs/shared-link.e2e-spec.ts+++ b/e2e/src/api/specs/shared-link.e2e-spec.ts@@ -86,7 +86,7 @@ describe('/shared-link', () => {}),]);- await deleteUser({ id: user2.userId }, { headers: asBearerAuth(admin.accessToken) });+ await deleteUser({ id: user2.userId, deleteUserDto: {} }, { headers: asBearerAuth(admin.accessToken) });});describe('GET /shared-link', () => {