Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mrcatlait committed Sep 24, 2024
1 parent c92dc91 commit b91fd62
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/web/contract-tests/tests/track.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { TestBed } from '@angular/core/testing'
import { Pact } from '@pact-foundation/pact'
import { firstValueFrom } from 'rxjs'
import { provideHttpClient } from '@angular/common/http'
import { expect } from 'vitest'
import { resolve } from 'path'

import { API_URL } from '@core/tokens'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ describe('TrackRepository', () => {
// Act
repository.getPopular().subscribe((remixes) => {
// Assert
expect(remixes).toEqual(mockResponse.data)
expect(remixes).toEqual(mockResponse)
})
})

Expand Down
1 change: 1 addition & 0 deletions apps/web/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"@environment": ["src/environments/environment"]
}
},
"exclude": ["cypress.config.ts"],
"angularCompilerOptions": {
"enableI18nLegacyMessageIdFormat": false,
"strictInjectionParameters": true,
Expand Down

0 comments on commit b91fd62

Please sign in to comment.