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

ota-meshi / eslint-plugin-json-schema-validator / 21107667783

18 Jan 2026 06:54AM UTC coverage: 35.082% (-52.3%) from 87.363%
21107667783

Pull #452

github

web-flow
Merge c9b05d9ff into bb8e97af5
Pull Request #452: Bundle using tsdown

177 of 507 branches covered (34.91%)

Branch coverage included in aggregate %.

8 of 20 new or added lines in 4 files covered. (40.0%)

518 existing lines in 13 files now uncovered.

338 of 961 relevant lines covered (35.17%)

9.52 hits per line

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

41.38
/src/utils/http-client/http.ts
1
import type { RequestOptions } from "https";
33✔
2
import defaultClient from "./get-modules/http";
1✔
3
import { createRequire } from "module";
1✔
4

5
/**
6
 * GET Method
7
 */
8
export async function get(
1✔
9
  url: string,
10
  options?: RequestOptions,
11
  httpModulePath?: string,
12
): Promise<string> {
UNCOV
13
  const client = httpModulePath
×
14
    ? await loadModule(httpModulePath)
15
    : defaultClient;
UNCOV
16
  return client.default ? client.default(url, options) : client(url, options);
×
17
}
18

19
/**
20
 * Load module by path
21
 */
22
function loadModule(modulePath: string) {
2!
23
  // TODO test
NEW
24
  console.log(modulePath);
×
NEW
25
  try {
×
NEW
26
    const require = createRequire(import.meta.filename);
×
NEW
27
    return require(modulePath);
×
28
  } catch {
NEW
29
    return import(modulePath);
×
30
  }
31
}
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