create user

This commit is contained in:
2021-12-08 11:14:12 +07:00
parent 10984f65a5
commit 988d545b64
8 changed files with 43 additions and 14 deletions

View File

@@ -1,15 +1,15 @@
import { Test, TestingModule } from '@nestjs/testing';
import { ConfigurableService } from './configurable.service';
import { RoleService } from './roles.service';
describe('ConfigurableService', () => {
let service: ConfigurableService;
describe('RoleService', () => {
let service: RoleService;
beforeEach(async () => {
const module: TestingModule = await Test.createTestingModule({
providers: [ConfigurableService],
providers: [RoleService],
}).compile();
service = module.get<ConfigurableService>(ConfigurableService);
service = module.get<RoleService>(RoleService);
});
it('should be defined', () => {