• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Nikorag / iplayarr / 14756282416

30 Apr 2025 01:53PM UTC coverage: 44.971% (-0.2%) from 45.197%
14756282416

push

github

web-flow
Merge pull request #135 from Nikorag/native-search-lunr

Use Lunr for fuzzy search and replace children endpoint with episodes

227 of 582 branches covered (39.0%)

Branch coverage included in aggregate %.

34 of 74 new or added lines in 8 files covered. (45.95%)

2 existing lines in 1 file now uncovered.

873 of 1864 relevant lines covered (46.83%)

5.59 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/validators/OffScheduleFormValidator.ts
NEW
1
import iplayerDetailsService from '../service/iplayerDetailsService';
×
2
import { Validator } from './Validator';
×
3

4
export class OffScheduleFormValidator extends Validator {
×
5
    async validate({ url }: any): Promise<{ [key: string]: string }> {
6
        const validatorError: { [key: string]: string } = {};
×
NEW
7
        const brandPid: string | undefined = await iplayerDetailsService.findBrandForUrl(url);
×
8
        if (!brandPid) {
×
9
            validatorError.url = 'Invalid URL';
×
10
        }
11
        return validatorError;
×
12
    }
13
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc