message: don't run webpack for each test, test the frontend package once.
diff: @@ -41,16 +41,12 @@ describe("Testbed", function () {
  it("TestData should load", async () => {
  await TestData.load();
  });
  -});
  -for (const entry of IModelJsFs.readdirSync(__dirname)) {
  - if (entry.indexOf(".test.js") !== -1 && entry.indexOf(".test.js.map") === -1) {
  - const entryPath = `${__dirname}/${entry}`;
  + it("frontend.js should be compatible with webpack", (done) => {
  + const frontendIndex = path.join(__dirname, "../../../frontend/lib/frontend.js");
  - describe(entry, function () {
  - it("should be compatible with webpack", (done) => {
  const compiler = webpack({
  - entry: entryPath, node: {
  + entry: frontendIndex, node: {
  fs: "empty",
  },
  });
  @@ -73,6 +69,9 @@ for (const entry of IModelJsFs.readdirSync(__dirname)) {
  });
  });
  +for (const entry of IModelJsFs.readdirSync(__dirname)) {
  + if (entry.indexOf(".test.js") !== -1 && entry.indexOf(".test.js.map") === -1) {
  + const entryPath = `${__dirname}/${entry}`;
  require(entryPath);
  }
  }
  