diff --git a/src/common/adapters/artists.adapter.spec.ts b/src/common/adapters/artists.adapter.spec.ts index 7804dab2..f19bdbac 100644 --- a/src/common/adapters/artists.adapter.spec.ts +++ b/src/common/adapters/artists.adapter.spec.ts @@ -1,5 +1,3 @@ -import { describe, test, expect } from 'vitest' - import { spotifyArtistMock, artistMock, diff --git a/src/common/adapters/audio-features.adapter.spec.ts b/src/common/adapters/audio-features.adapter.spec.ts index 00cf0d2b..54583a3d 100644 --- a/src/common/adapters/audio-features.adapter.spec.ts +++ b/src/common/adapters/audio-features.adapter.spec.ts @@ -1,5 +1,3 @@ -import { expect, test, describe } from 'vitest' - import { spotifyAudioFeaturesMock, audioFeaturesMock } from '../mocks' import { adaptAudioFeatures } from './audio-features.adapter' diff --git a/src/common/adapters/devices.adapter.spec.ts b/src/common/adapters/devices.adapter.spec.ts index 606e381d..d9c6188b 100644 --- a/src/common/adapters/devices.adapter.spec.ts +++ b/src/common/adapters/devices.adapter.spec.ts @@ -1,5 +1,3 @@ -import { expect, test, describe } from 'vitest' - import { spotifyDevicesMock, devicesMock } from '../mocks' import { adaptDevices } from './devices.adapter' diff --git a/src/common/adapters/genres.adapter.spec.ts b/src/common/adapters/genres.adapter.spec.ts index b5914638..b7982f9c 100644 --- a/src/common/adapters/genres.adapter.spec.ts +++ b/src/common/adapters/genres.adapter.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { spotifyArtistsMock, topGenresMock } from '../mocks' import { adaptGenres } from './genres.adapter' diff --git a/src/common/adapters/paginated.adapter.spec.ts b/src/common/adapters/paginated.adapter.spec.ts index 770db085..9db1b4fc 100644 --- a/src/common/adapters/paginated.adapter.spec.ts +++ b/src/common/adapters/paginated.adapter.spec.ts @@ -1,5 +1,3 @@ -import { describe, test, expect } from 'vitest' - import { artistsMock, spotifyArtistsMock, diff --git a/src/common/adapters/playback-state.adapter.spec.ts b/src/common/adapters/playback-state.adapter.spec.ts index cabbd8fe..ab82e076 100644 --- a/src/common/adapters/playback-state.adapter.spec.ts +++ b/src/common/adapters/playback-state.adapter.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { spotifyPlaybackStateMock, playbackStateMock } from '../mocks' import { adaptPlaybackState } from './playback-state.adapter' diff --git a/src/common/adapters/profile.adapter.spec.ts b/src/common/adapters/profile.adapter.spec.ts index 2e3ff96a..d1ffea69 100644 --- a/src/common/adapters/profile.adapter.spec.ts +++ b/src/common/adapters/profile.adapter.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { spotifyProfileMock, profileMock } from '../mocks' import { adaptProfile } from './profile.adapter' diff --git a/src/common/adapters/secret-data.adapter.spec.ts b/src/common/adapters/secret-data.adapter.spec.ts index 4804f3d4..2f594c12 100644 --- a/src/common/adapters/secret-data.adapter.spec.ts +++ b/src/common/adapters/secret-data.adapter.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { SpotifyToken } from '../types/spotify' import { adaptSecretData } from './secret-data.adapter' diff --git a/src/common/adapters/tracks.adapter.spec.ts b/src/common/adapters/tracks.adapter.spec.ts index 1f2785ff..d07df167 100644 --- a/src/common/adapters/tracks.adapter.spec.ts +++ b/src/common/adapters/tracks.adapter.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { spotifyTracksMock, tracksMock, diff --git a/src/common/utils/apply-authorization-header.util.spec.ts b/src/common/utils/apply-authorization-header.util.spec.ts index e5da09c8..72ab415e 100644 --- a/src/common/utils/apply-authorization-header.util.spec.ts +++ b/src/common/utils/apply-authorization-header.util.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { applyAuthorizationHeader } from './apply-authorization-header.util' describe('applyAuthorizationHeader', () => { diff --git a/src/common/utils/catch-spotify-error.spec.ts b/src/common/utils/catch-spotify-error.spec.ts index 859d19d5..8dec4b78 100644 --- a/src/common/utils/catch-spotify-error.spec.ts +++ b/src/common/utils/catch-spotify-error.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect } from 'vitest' import { BadGatewayException, UnauthorizedException } from '@nestjs/common' import { diff --git a/src/common/utils/get-most-frequent-items.util.spec.ts b/src/common/utils/get-most-frequent-items.util.spec.ts index 2076cfb2..7112accd 100644 --- a/src/common/utils/get-most-frequent-items.util.spec.ts +++ b/src/common/utils/get-most-frequent-items.util.spec.ts @@ -1,5 +1,3 @@ -import { test, describe, expect } from 'vitest' - import { getMostFrequentItems } from '.' describe('GetMostFrequentItems', () => { diff --git a/src/modules/auth/auth.controller.spec.ts b/src/modules/auth/auth.controller.spec.ts index 27eeddb3..86383d59 100644 --- a/src/modules/auth/auth.controller.spec.ts +++ b/src/modules/auth/auth.controller.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, beforeEach, vi } from 'vitest' import { HttpStatus } from '@nestjs/common' import { ConfigService } from '@nestjs/config' import { Test, TestingModule } from '@nestjs/testing' diff --git a/src/modules/auth/auth.service.spec.ts b/src/modules/auth/auth.service.spec.ts index deb2ef5f..4e844554 100644 --- a/src/modules/auth/auth.service.spec.ts +++ b/src/modules/auth/auth.service.spec.ts @@ -1,6 +1,5 @@ import { URLSearchParams } from 'node:url' -import { test, describe, expect, beforeEach, vi } from 'vitest' import { HttpService } from '@nestjs/axios' import { ConfigService } from '@nestjs/config' import { JwtService } from '@nestjs/jwt' diff --git a/src/modules/auth/decorators/token.decorator.spec.ts b/src/modules/auth/decorators/token.decorator.spec.ts index 6c53d8b8..d77b94f7 100644 --- a/src/modules/auth/decorators/token.decorator.spec.ts +++ b/src/modules/auth/decorators/token.decorator.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, vi } from 'vitest' import { ExecutionContext, UnauthorizedException } from '@nestjs/common' import { mock } from 'vitest-mock-extended' diff --git a/src/modules/images/images.repository.spec.ts b/src/modules/images/images.repository.spec.ts index d3d0bfac..0207d125 100644 --- a/src/modules/images/images.repository.spec.ts +++ b/src/modules/images/images.repository.spec.ts @@ -1,4 +1,3 @@ -import { beforeEach, describe, expect, test, vi } from 'vitest' import { Test } from '@nestjs/testing' import { DataSource } from 'typeorm' diff --git a/src/modules/player/player.controller.spec.ts b/src/modules/player/player.controller.spec.ts index 758cd05f..4cad2848 100644 --- a/src/modules/player/player.controller.spec.ts +++ b/src/modules/player/player.controller.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, beforeEach, vi } from 'vitest' import { Test, TestingModule } from '@nestjs/testing' import { firstValueFrom, of } from 'rxjs' diff --git a/src/modules/player/player.service.spec.ts b/src/modules/player/player.service.spec.ts index 97e44e26..b7e2beb0 100644 --- a/src/modules/player/player.service.spec.ts +++ b/src/modules/player/player.service.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, beforeEach, vi } from 'vitest' import { HttpService } from '@nestjs/axios' import { TestingModule, Test } from '@nestjs/testing' import { of, firstValueFrom, throwError, catchError } from 'rxjs' diff --git a/src/modules/profiles/profiles.repository.spec.ts b/src/modules/profiles/profiles.repository.spec.ts index ccf3323f..e2d701ee 100644 --- a/src/modules/profiles/profiles.repository.spec.ts +++ b/src/modules/profiles/profiles.repository.spec.ts @@ -1,4 +1,3 @@ -import { beforeEach, describe, expect, test, vi } from 'vitest' import { DataSource } from 'typeorm' import { Test, TestingModule } from '@nestjs/testing' diff --git a/src/modules/profiles/profiles.service.spec.ts b/src/modules/profiles/profiles.service.spec.ts index d3c46732..5ae3748a 100644 --- a/src/modules/profiles/profiles.service.spec.ts +++ b/src/modules/profiles/profiles.service.spec.ts @@ -1,4 +1,3 @@ -import { beforeEach, describe, expect, test, vi } from 'vitest' import { Test } from '@nestjs/testing' import { mock } from 'vitest-mock-extended' diff --git a/src/modules/statistics/statistics.controller.spec.ts b/src/modules/statistics/statistics.controller.spec.ts index 32733acd..14ddffc2 100644 --- a/src/modules/statistics/statistics.controller.spec.ts +++ b/src/modules/statistics/statistics.controller.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, beforeEach, vi } from 'vitest' import { Test, TestingModule } from '@nestjs/testing' import { firstValueFrom, of } from 'rxjs' diff --git a/src/modules/statistics/statistics.service.spec.ts b/src/modules/statistics/statistics.service.spec.ts index 8ab11897..c9800fc7 100644 --- a/src/modules/statistics/statistics.service.spec.ts +++ b/src/modules/statistics/statistics.service.spec.ts @@ -1,4 +1,3 @@ -import { test, describe, expect, beforeEach, vi } from 'vitest' import { HttpService } from '@nestjs/axios' import { TestingModule, Test } from '@nestjs/testing' import { firstValueFrom, of } from 'rxjs' diff --git a/src/modules/users/users.controller.spec.ts b/src/modules/users/users.controller.spec.ts index b21206ce..7ca575e1 100644 --- a/src/modules/users/users.controller.spec.ts +++ b/src/modules/users/users.controller.spec.ts @@ -1,4 +1,3 @@ -import { beforeEach, describe, expect, test, vi } from 'vitest' import { Test } from '@nestjs/testing' import { UsersController } from './users.controller' diff --git a/src/modules/users/users.repository.spec.ts b/src/modules/users/users.repository.spec.ts index a3152fa5..7a496a97 100644 --- a/src/modules/users/users.repository.spec.ts +++ b/src/modules/users/users.repository.spec.ts @@ -1,4 +1,3 @@ -import { beforeEach, describe, expect, test, vi } from 'vitest' import { Test } from '@nestjs/testing' import { DataSource } from 'typeorm'