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

e7h4n / rippling / 12212279903

07 Dec 2024 10:51AM UTC coverage: 76.031% (+0.7%) from 75.309%
12212279903

push

github

e7h4n
build: better lint / format / commit toolchain

- makes prettier & eslint works together
- use commitlint to check commit message
- reformat all existed sources
- add git action to check commit message

161 of 170 branches covered (94.71%)

Branch coverage included in aggregate %.

53 of 103 new or added lines in 26 files covered. (51.46%)

6 existing lines in 4 files now uncovered.

521 of 727 relevant lines covered (71.66%)

118.53 hits per line

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

0.0
/packages/devtools/src/components/Sidebar.tsx
NEW
1
import { useState } from 'react';
×
2

3
export function Sidebar() {
×
4
  const [selectedStore, setSelectedStore] = useState(0);
×
5

6
  return (
×
7
    <aside className="p-2 text-[#586e75] h-full overflow-y-auto text-sm">
×
8
      <ul className="space-y-1">
×
9
        <li
×
NEW
10
          className={`px-2 py-1 hover:bg-[#eee8d5] rounded cursor-pointer ${selectedStore === 0 ? 'bg-[#eee8d5]' : ''}`}
×
NEW
11
          onClick={() => {
×
NEW
12
            setSelectedStore(0);
×
NEW
13
          }}
×
UNCOV
14
        >
×
15
          Store 1
16
        </li>
×
17
        <li
×
NEW
18
          className={`px-2 py-1 hover:bg-[#eee8d5] rounded cursor-pointer ${selectedStore === 1 ? 'bg-[#eee8d5]' : ''}`}
×
NEW
19
          onClick={() => {
×
NEW
20
            setSelectedStore(1);
×
NEW
21
          }}
×
UNCOV
22
        >
×
23
          Store 2
24
        </li>
×
25
        <li
×
NEW
26
          className={`px-2 py-1 hover:bg-[#eee8d5] rounded cursor-pointer ${selectedStore === 2 ? 'bg-[#eee8d5]' : ''}`}
×
NEW
27
          onClick={() => {
×
NEW
28
            setSelectedStore(2);
×
NEW
29
          }}
×
UNCOV
30
        >
×
31
          Store 3
32
        </li>
×
33
      </ul>
×
34
    </aside>
×
35
  );
36
}
×
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