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

atlp-rwanda / champs-ec-fe / 13ba735d-90f9-49d3-9acb-f5a6c957f324

18 Jun 2024 10:20PM UTC coverage: 58.852% (-28.3%) from 87.175%
13ba735d-90f9-49d3-9acb-f5a6c957f324

Pull #13

circleci

k3lly003
Merge pull request #26 from atlp-rwanda/ft-disable-users-#187300202

Ft disable users #187300202
Pull Request #13: feat(ProductView): ProductView (all/one) according to there user's role #187300196

70 of 95 branches covered (73.68%)

Branch coverage included in aggregate %.

84 of 626 new or added lines in 24 files covered. (13.42%)

219 existing lines in 7 files now uncovered.

1366 of 2345 relevant lines covered (58.25%)

2.27 hits per line

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

0.0
/src/types/Product.ts
NEW
1
export interface Seller {
×
NEW
2
  firstName: string;
×
NEW
3
  lastName: string;
×
NEW
4
  profileImage: string;
×
NEW
5
  email: string;
×
NEW
6
  phone: string;
×
NEW
7
}
×
NEW
8
export interface ReviewType {
×
NEW
9
  rating: number;
×
NEW
10
  feedback: string;
×
NEW
11
}
×
NEW
12
export interface imageType {
×
NEW
13
  imgId: string;
×
NEW
14
  URL: string;
×
NEW
15
}
×
NEW
16
export interface ProductType {
×
NEW
17
  createdAt?: string;
×
NEW
18
  expireDate?: string;
×
NEW
19
  featureEndDate?: number;
×
NEW
20
  id: string;
×
NEW
21
  isAvailable?: boolean;
×
NEW
22
  isExpired?: boolean;
×
NEW
23
  isFeatured?: boolean;
×
NEW
24
  productCategory?: string;
×
NEW
25
  productCurrency: string;
×
NEW
26
  productDescription: string;
×
NEW
27
  productDiscount?: number;
×
NEW
28
  productName: string;
×
NEW
29
  productPictures: imageType[]
×
NEW
30
  productPrice: number;
×
NEW
31
  productThumbnail: string;
×
NEW
32
  reviews: ReviewType;
×
NEW
33
  related: any;
×
NEW
34
  seller?: Seller;
×
NEW
35
  sellerId?: string; 
×
NEW
36
  stockLevel?: number;
×
NEW
37
  updatedAt?: number;
×
NEW
38
  }
×
NEW
39
  
×
NEW
40
  export interface ProductObj {
×
NEW
41
    currentPage: number;
×
NEW
42
    products: ProductType[];
×
NEW
43
    totalItems: number;
×
NEW
44
    toatalPages: number;
×
NEW
45
  }
×
NEW
46

×
NEW
47
  export interface Cards {
×
NEW
48
    key: string;
×
NEW
49
    id: string;
×
NEW
50
    productPrice: number;
×
NEW
51
    productThumbnail: string;
×
NEW
52
    productDescription: string;
×
NEW
53
  }
×
NEW
54
  export interface TableType {
×
NEW
55
    product: string;
×
NEW
56
    index: number;
×
NEW
57
    id:string;
×
NEW
58
  }
×
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