import { expect } from 'chai' ; import { UserService } from '../../../services' ; import { MockBaseRepository } from '../mocks/MockBaseRepository' ; import { generateUserModel } from '../../data/models' ; describe ( 'UserService' , ( ) => { let service ; beforeEach ( ( ) => { } ) ; it ( 'should instantiate' , async ( ) => { service = new UserService ( new MockBaseRepository ( generateUserModel ( ) ) as any ) ; expect ( ! ! service ) . to . be . true ; } ) ; } ) ;