async function fakeImport(path, ms = 0) {
  const result = fakeImports[path];
  if (ms > 0) {
    return new Promise((resolve, reject) => {
      setTimeout(() => resolveOrReject(result, resolve, reject), ms);
    });
  }
  // eslint-disable-next-line no-promise-executor-return
  return new Promise((resolve, reject) => resolveOrReject(result, resolve, reject));
}
@param {string} path
@param {number} [ms=0]
@returns {Promise.<Object>}