summaryrefslogtreecommitdiffstats
path: root/devtools/shared/tests/unit/exposeLoader.js
blob: 949640a03e4eed6ed0851fb1a0271a19a664f580 (plain)
1
2
3
4
5
6
7
8
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

exports.exerciseLazyRequire = (name, path) => {
  const o = {};
  loader.lazyRequireGetter(o, name, path);
  return o;
};