19 lines
474 B
TypeScript
19 lines
474 B
TypeScript
import { Test, TestingModule } from '@nestjs/testing';
|
|
import { CustomerService } from './customer.service';
|
|
|
|
describe('CustomerService', () => {
|
|
let service: CustomerService;
|
|
|
|
beforeEach(async () => {
|
|
const module: TestingModule = await Test.createTestingModule({
|
|
providers: [CustomerService],
|
|
}).compile();
|
|
|
|
service = module.get<CustomerService>(CustomerService);
|
|
});
|
|
|
|
it('should be defined', () => {
|
|
expect(service).toBeDefined();
|
|
});
|
|
});
|