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
|
2 years ago
|
import { Test, TestingModule } from '@nestjs/testing';
|
||
|
|
import { UsersService } from './users.service';
|
||
|
|
|
||
|
|
describe('UsersService', () => {
|
||
|
|
let service: UsersService;
|
||
|
|
|
||
|
|
beforeEach(async () => {
|
||
|
|
const module: TestingModule = await Test.createTestingModule({
|
||
|
|
providers: [UsersService],
|
||
|
|
}).compile();
|
||
|
|
|
||
|
|
service = module.get<UsersService>(UsersService);
|
||
|
|
});
|
||
|
|
|
||
|
|
it('should be defined', () => {
|
||
|
|
expect(service).toBeDefined();
|
||
|
|
});
|
||
|
|
});
|