You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
453 B
19 lines
453 B
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { EmailService } from './email.service';
|
|
|
|
describe('EmailService', () => {
|
|
let service: EmailService;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [EmailService],
|
|
}).compile();
|
|
|
|
service = module.get<EmailService>(EmailService);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|