Spaces:
Runtime error
Runtime error
File size: 446 Bytes
97dab2a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | 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();
});
});
|