## Summary Adds a new unit test to `parseHookNames-test` which verifies that we correctly give names to hooks when they are used indirectly: e.g. ``` const countState = useState(0); const count = countState[0]; const setCount = countState[1]; ``` Should produce `count` as the name. ## Test plan ``` yarn test yarn test-build-devtools yarn test-build-devtools parseHookNames ```
The JavaScript files and source maps in this directory are used to test DevTools hook name parsing code. The files here use source maps in different formats to mirror real world applications. The source for the files is located in the parnet __tests__ folder. To regenerate these compiled files, run yarn update-mock-source-maps in the react-devtools-extensions directory.