Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ramueSVA committed Aug 27, 2024
1 parent fcf1ad9 commit 7ddd58d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@
},
"lint-staged": {
"src/**/*.ts": [
"ng-lint-staged lint --fix --"
"eslint --fix",
"git add"
]
},
"jestSonar": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ describe('DataExplorerComponent', () => {
router = TestBed.inject(Router)
jest.restoreAllMocks()
jest.clearAllMocks()
jest.spyOn(URL, 'createObjectURL').mockImplementation(() => 'url')
jest.spyOn(router, 'navigate').mockImplementation()
jest.spyOn(cohortService, 'get').mockImplementation(() => of(mockCohort1))
jest.spyOn(cohortService, 'update').mockImplementation(() => of(mockCohort1))
Expand Down

0 comments on commit 7ddd58d

Please sign in to comment.