MCPcopy Index your code
hub / github.com/streamich/react-use / useMethods.test.ts

File useMethods.test.ts

tests/useMethods.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { renderHook, act } from '@testing-library/react-hooks';
2import { useMethods } from '../src';
3
4it('should have initialState value as the returned state value', () => {

Callers

nothing calls this directly

Calls 3

useMethodsFunction · 0.90
createMethodsFunction · 0.70
resetMethod · 0.65

Tested by

no test coverage detected