text: const pathModule = require('path');
  const expect = require('../../unexpected-with-plugins');
  const AssetGraph = require('../../../lib/AssetGraph');
  
  describe('relations/HtmlSearchLink', function() {
    it('should handle a test case with an existing <link rel="search"> element', async function() {
      const assetGraph = new AssetGraph({
        root: pathModule.resolve(
          __dirname,
          '../../../testdata/relations/Html/HtmlSearchLink/'
        )
      });
      await assetGraph.loadAssets('index.html');
      await assetGraph.populate();
  
      expect(assetGraph, 'to contain relation', 'HtmlSearchLink');
      expect(assetGraph, 'to contain asset', 'Xml');
    });
  });
  