MCPcopy Create free account
hub / github.com/testing-library/react-testing-library /

Class

src/__tests__/stopwatch.js:4–4  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2import {render, fireEvent, screen} from '../'
3
4class StopWatch extends React.Component {
5 state = {lapse: 0, running: false}
6 handleRunClick = () => {
7 this.setState(state => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected