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

pmcelhaney / counterfact / 5942883563

22 Aug 2023 06:52PM UTC coverage: 83.567% (-3.8%) from 87.388%
5942883563

Pull #517

github

web-flow
Merge branch 'main' into windows-support
Pull Request #517: disable the end-to-end test because it won't work on Windows

389 of 423 branches covered (91.96%)

Branch coverage included in aggregate %.

1818 of 2218 relevant lines covered (81.97%)

9.64 hits per line

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

23.81
/src/typescript-generator/generate.js
1
import { Repository } from "./repository.js";
1✔
2
import { Specification } from "./specification.js";
1✔
3
import { OperationCoder } from "./operation-coder.js";
1✔
4

1✔
5
export async function generate(
1✔
6
  source,
×
7
  destination,
×
8
  repository = new Repository()
×
9
) {
×
10
  const specification = new Specification(source);
×
11

×
12
  const requirement = await specification.requirementAt("#/paths");
×
13

×
14
  requirement.forEach((pathDefinition, key) => {
×
15
    pathDefinition.forEach((operation) => {
×
16
      repository.get(`paths${key}.ts`).export(new OperationCoder(operation));
×
17
    });
×
18
  });
×
19

×
20
  await repository.writeFiles(destination);
×
21
}
×
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

© 2025 Coveralls, Inc