testeranto 0.219.8 → 0.219.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
1
  import esbuild from "esbuild";
2
2
  import nodeConfiger from "./esbuild";
3
3
  import { processMetafile } from "../common";
4
- const nodeConfig = process.argv[2];
4
+ const nodeConfigPath = process.argv[2];
5
5
  const testName = process.argv[3] || "allTests";
6
- console.log(`[NODE BUILDER] nodeConfig: ${nodeConfig}`);
6
+ console.log(`[NODE BUILDER] nodeConfig: ${nodeConfigPath}`);
7
7
  // run esbuild in watch mode using esbuildConfigs. Write to fs the bundle and metafile
8
8
  async function startBundling(config) {
9
9
  console.log(`[NODE BUILDER] is now bundling: ${testName}`);
@@ -20,11 +20,11 @@ async function startBundling(config) {
20
20
  }
21
21
  async function main() {
22
22
  try {
23
- const config = (await import(nodeConfig)).default;
23
+ const config = (await import(nodeConfigPath)).default;
24
24
  await startBundling(config);
25
25
  }
26
26
  catch (error) {
27
- console.error("NODE BUILDER: Error importing config:", nodeConfig, error);
27
+ console.error("NODE BUILDER: Error importing config:", nodeConfigPath, error);
28
28
  console.error(error);
29
29
  process.exit(1);
30
30
  }