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.
'foo',
      null, 
      'baz',
    ]);
  });
  it('should return null for custom hooks without explicit names', async () => {
    const Component = require('./__source__/__untransformed__/ComponentWithUnnamedCustomHooks')
      .Component;
    const hookNames = await getHookNamesForComponent(Component);
    expectHookNamesToEqual(hookNames, [
      null, 
      null, 
    ]);
  });
  describe('inline, external and bundle source maps', () => {
    it('should work for simple components', async () => {
      async function test(path, name = 'Component') {
        const Component = require(path)[name];
        const hookNames = await getHookNamesForComponent(Component);
        expectHookNamesToEqual(hookNames, [
          'count', 
        ]);
      }
      await test('./__source__/Example'); 
      await test('./__source__/__compiled__/inline/Example'); 
      await test('./__source__/__compiled__/external/Example'); 
      await test('./__source__/__compiled__/bundle/index', 'Example'); 
    });
    it('should work with more complex files and components', async () => {
      async function test(path, name = undefined) {