Some checks failed
Anatid Blog CI Workflow / test (./backend) (push) Failing after 39s
Anatid Blog CI Workflow / test (./frontend) (push) Successful in 30s
Anatid Blog CI Workflow / build-and-push-images (./backend/Dockerfile, git.anatid.net/tabris/anatid-blog-backend, ./backend) (push) Has been skipped
Anatid Blog CI Workflow / build-and-push-images (./frontend/Dockerfile, git.anatid.net/tabris/anatid-blog-frontend, ./frontend) (push) Has been skipped
Anatid Blog CI Workflow / deploy (push) Has been skipped
19 lines
453 B
TypeScript
19 lines
453 B
TypeScript
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();
|
|
});
|
|
});
|