Skip to content

Commit

Permalink
Exclude cypress folder from type config
Browse files Browse the repository at this point in the history
  • Loading branch information
bpatrik committed Sep 6, 2023
1 parent b34038c commit 6a38b67
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
MYSQL_PORT: ${{ job.services.mariadb.ports[3306] }}
PORT: 35000
CI: true
- name: Cypress run
- name: E2E test - Cypress run
uses: cypress-io/github-action@v6
with:
start: npm run start-e2e-server
Expand Down
14 changes: 1 addition & 13 deletions src/frontend/app/ui/gallery/content.service.ts
Original file line number Diff line number Diff line change
@@ -1,17 +1,5 @@
import {Injectable} from '@angular/core';
import {NetworkService} from '../../model/network/network.service';
import {ContentWrapper} from '../../../../common/entities/ConentWrapper';
import {SubDirectoryDTO,} from '../../../../common/entities/DirectoryDTO';
import {GalleryCacheService} from './cache.gallery.service';
import {BehaviorSubject, Observable} from 'rxjs';
import {Config} from '../../../../common/config/public/Config';
import {ShareService} from './share.service';
import {NavigationService} from '../../model/navigation.service';
import {QueryParams} from '../../../../common/QueryParams';
import {ErrorCodes} from '../../../../common/entities/Error';
import {map} from 'rxjs/operators';
import {MediaDTO} from '../../../../common/entities/MediaDTO';
import {FileDTO} from '../../../../common/entities/FileDTO';
import {Observable} from 'rxjs';
import {GallerySortingService, GroupedDirectoryContent} from './navigator/sorting.service';
import {FilterService} from './filter/filter.service';
import {ContentLoaderService} from './contentLoader.service';
Expand Down
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"strictTemplates": true
},
"exclude": [
"cypress.config.ts"
"cypress.config.ts",
"cypress/**/*"
]
}

0 comments on commit 6a38b67

Please sign in to comment.