Hooks like `useEffect` or `useLayoutEffect` will _never_ have names, so if a the only hooks for a given source file are these "unnamed" built-in hooks, we should skip loading the source code.
const components = name != null ? require(path)[name] : require(path);
        let hookNames = await getHookNamesForComponent(components.List);
        expectHookNamesToEqual(hookNames, [
          'newItemText', 
          'items', 
          'uid', 
          'handleClick', 
          'handleKeyPress', 
          'handleChange', 
          'removeItem', 
          'toggleItem', 
        ]);
        hookNames = await getHookNamesForComponent(components.ListItem, {
          item: {},
        });
        expectHookNamesToEqual(hookNames, [
          'handleDelete', 
          'handleToggle', 
        ]);
      }
      await test('./__source__/ToDoList'); 
      await test('./__source__/__compiled__/inline/ToDoList'); 
      await test('./__source__/__compiled__/external/ToDoList'); 
      await test('./__source__/__compiled__/bundle', 'ToDoList'); 
    });
    it('should work for custom hook', async () => {
      async function test(path, name = 'Component') {