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

ProteinsWebTeam / interpro7-client / 10298555325

08 Aug 2024 08:22AM UTC coverage: 25.376% (+2.5%) from 22.889%
10298555325

Pull #641

github

web-flow
Merge 8b67ca91f into 9398226d6
Pull Request #641: Re-factory of the Search By Sequence area

521 of 2519 branches covered (20.68%)

Branch coverage included in aggregate %.

7 of 9 new or added lines in 4 files covered. (77.78%)

6 existing lines in 2 files now uncovered.

1131 of 3991 relevant lines covered (28.34%)

92.24 hits per line

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

0.0
/src/higherOrder/loadData/dataPropTypes.js
1
import T from 'prop-types';
2

UNCOV
3
export const metadataPropType = T.shape({
×
4
  metadata: T.shape({
5
    accession: T.string,
6
    sequence: T.string,
7
    name: T.shape({
8
      name: T.string,
9
    }),
10
  }),
11
});
12

UNCOV
13
export const resultsPropType = T.shape({
×
14
  results: T.arrayOf([metadataPropType]),
15
});
UNCOV
16
const interProScanUnitPropType = T.shape({
×
17
  sequence: T.string.isRequired,
18
  xref: T.shape({
19
    0: T.shape({
20
      identifier: T.string,
21
    }).isRequired,
22
  }).isRequired,
23
});
UNCOV
24
export const interProScanPropType = T.shape({
×
25
  results: T.shape(
26
    {
27
      0: interProScanUnitPropType.isRequired,
28
    }.isRequired,
29
  ),
30
});
31

UNCOV
32
export const dataPropType = T.shape({
×
33
  loading: T.bool,
34
  payload: T.oneOfType([
35
    metadataPropType,
36
    resultsPropType,
37
    interProScanPropType,
38
    interProScanUnitPropType,
39
    T.string,
40
  ]),
41
  status: T.number,
42
  ok: T.bool,
43
  progress: T.number,
44
  url: T.string,
45
});
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