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