import { ConfigService } from '@nestjs/config'
import { Test, TestingModule } from '@nestjs/testing'
import { MailerService } from './mailer.service'

describe('MailerService', () => {
    let service: MailerService

    beforeEach(async () => {
        const module: TestingModule = await Test.createTestingModule({
            providers: [ConfigService, MailerService]
        }).compile()

        service = module.get<MailerService>(MailerService)
    })

    it('should be defined', () => {
        expect(service).toBeDefined()
    })
})
