2020-05-02 17:17:20 +02:00
|
|
|
import { Test, TestingModule } from "@nestjs/testing";
|
|
|
|
|
import { SpotifyApiService } from "./spotify-api.service";
|
2020-02-02 19:21:58 +01:00
|
|
|
|
2020-05-02 17:17:20 +02:00
|
|
|
describe("SpotifyApiService", () => {
|
2020-02-02 19:21:58 +01:00
|
|
|
let service: SpotifyApiService;
|
|
|
|
|
|
|
|
|
|
beforeEach(async () => {
|
|
|
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
|
|
|
providers: [SpotifyApiService],
|
|
|
|
|
}).compile();
|
|
|
|
|
|
|
|
|
|
service = module.get<SpotifyApiService>(SpotifyApiService);
|
|
|
|
|
});
|
|
|
|
|
|
2020-05-02 17:17:20 +02:00
|
|
|
it("should be defined", () => {
|
2020-02-02 19:21:58 +01:00
|
|
|
expect(service).toBeDefined();
|
|
|
|
|
});
|
|
|
|
|
});
|