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

spautz / react-hibernate / 4089579833

pending completion
4089579833

push

github

GitHub
build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1

49 of 120 branches covered (40.83%)

Branch coverage included in aggregate %.

150 of 432 relevant lines covered (34.72%)

8.99 hits per line

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

0.0
/packages/dev-helpers/src/components/NestedState.tsx
1
import React, { ReactElement } from 'react';
×
2
import Button from '@material-ui/core/Button';
×
3

4
const NestedState: React.FC = (): ReactElement => {
×
5
  const [counterValue, setCounterValue] = React.useState(0);
×
6

7
  return (
×
8
    <Button
9
      variant="contained"
10
      onClick={(): void => {
11
        setCounterValue((value) => value + 1);
×
12
      }}
13
    >
14
      I&apos;ve been clicked {counterValue} {counterValue === 1 ? 'time' : 'times'}
×
15
    </Button>
16
  );
17
};
18

19
export { NestedState };
×
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