testeranto 0.79.22 → 0.79.24

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.
@@ -7,7 +7,6 @@ import esbuildNodeConfiger from "./esbuildConfigs/node.js";
7
7
  import esbuildWebConfiger from "./esbuildConfigs/web.js";
8
8
  import esbuildFeaturesConfiger from "./esbuildConfigs/features.js";
9
9
  import webHtmlFrame from "./web.html.js";
10
- import reportHtmlFrame from "./report.html.js";
11
10
  var mode = process.argv[2] === "-dev" ? "DEV" : "PROD";
12
11
  readline.emitKeypressEvents(process.stdin);
13
12
  if (process.stdin.isTTY)
@@ -96,9 +95,6 @@ export class ITProject {
96
95
  fs.unlinkSync(chunk);
97
96
  });
98
97
  });
99
- fs.copyFileSync("./node_modules/testeranto/dist/prebuild/Report.js", "./docs/Report.js");
100
- fs.copyFileSync("./node_modules/testeranto/dist/prebuild/Report.css", "./docs/Report.css");
101
- fs.writeFileSync(`${config.outdir}/report.html`, reportHtmlFrame());
102
98
  Promise.all([
103
99
  fs.promises.writeFile(`${config.outdir}/testeranto.json`, JSON.stringify(Object.assign(Object.assign({}, config), { buildDir: process.cwd() + "/" + config.outdir }), null, 2)),
104
100
  esbuild
@@ -1,11 +1,14 @@
1
- export default (config) => {
2
- return {
3
- bundle: true,
4
- entryPoints: ["./node_modules/testeranto/dist/module/report.js"],
5
- minify: config.minify === true,
6
- outbase: config.outbase,
7
- write: true,
8
- outfile: `${config.outdir}/report.js`,
9
- external: ["tests.json", "features.test.js"],
10
- };
11
- };
1
+ "use strict";
2
+ // import { BuildOptions } from "esbuild";
3
+ // import { IBaseConfig } from "../lib/types";
4
+ // export default (config: IBaseConfig): BuildOptions => {
5
+ // return {
6
+ // bundle: true,
7
+ // entryPoints: ["./node_modules/testeranto/dist/module/report.js"],
8
+ // minify: config.minify === true,
9
+ // outbase: config.outbase,
10
+ // write: true,
11
+ // outfile: `${config.outdir}/report.js`,
12
+ // external: ["tests.json", "features.test.js"],
13
+ // };
14
+ // };