function mockDeprecation(type) {
  return {
    code: 'DeprecationIssue',
    details: {
      deprecationIssueDetails: {
        type,
        sourceCodeLocation: {
          url: 'https://www.example.com',
          lineNumber: 10,
          columnNumber: 10,
        },
      },
    },
  };
}
@param {string} type
@return {LH.Crdp.Audits.InspectorIssue}