function importText(path) {
  return {
    asymmetricMatch(actual) {
      return actual instanceof depGraph.Es6Import && actual.symOrPath == path;
    },

    jasmineToString() {
      return `import|export for "${path}"`;
    },
  };
}
Jasmine matcher that matches an ES6 import for the given path.

@param {string} path
@return {?}