| Conditions | 1 | 
| Total Lines | 12 | 
| Code Lines | 12 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | import {Inject} from '@nestjs/common'; | 
            ||
| 11 | |||
| 12 | public async isSatisfiedBy(  | 
            ||
| 13 | user: User,  | 
            ||
| 14 | startDate: string,  | 
            ||
| 15 | endDate: string  | 
            ||
| 16 |   ): Promise<boolean> { | 
            ||
| 17 | return (  | 
            ||
| 18 | (await this.holidayRepository.findExistingHolidaysByUserAndPeriod(  | 
            ||
| 19 | user,  | 
            ||
| 20 | startDate,  | 
            ||
| 21 | endDate  | 
            ||
| 22 | )) instanceof Holiday  | 
            ||
| 23 | );  | 
            ||
| 26 |